楼上的兄弟说得很对。weblogic.j2ee.DeploymentException: Error deploying application MyCmp: Unable to deploy EJB: Product from MyCmp.jar:The DataSource with the JNDI name: MysqlJNDI could not be located. Please ensure that the DataSource has been deployed successfully and that the JNDI name in your EJB Deployment descriptor is correct. at weblogic.deploy.deploy(deploy.java:665)
at weblogic.deploy.runBody(deploy.java:358)
at weblogic.utils.compiler.Tool.run(Tool.java:79)
at weblogic.deploy.main(deploy.java:1601)
Error deploying application MyCmp: Unable to deploy EJB: Product from MyCmp.jar:The DataSource with the JNDI name: MysqlJNDI could not be located. Please ensure that the DataSource has been deployed successfully and that the JNDI name in your EJB Deployment descriptor is correct.这是我在发布ejb的时候出现的问题,但是我弄不明白的是jndi在那里出错。
在weblogic里的DataSoruce我已经配置好jndi,为什么还是会出现错误呢?
请各位高手给于提示,谢谢