问题描述
- WebLogic12c JDK1.8 从tomcat迁移的问题
- 报的错误完全摸不到头脑,哪位大神帮忙看看,jar包全部清理了一遍,也加了weblogic.xml
####<2016-2-25 下午03时30分31秒 CST> <Error> <com.oracle.pitchfork.inject.Jsr250Metadata> <DADI> <AdminServer> <[ACTIVE] ExecuteThread: '29' for queue: 'weblogic.kernel.Default (self-tuning)'> <<anonymous>> <> <f1e8e4c0-6b8f-47d2-91d4-1e793e539693-00000008> <1456385431058> <[severity-value: 8] [rid: 0] [partition-id: 0] [partition-name: DOMAIN] > <BEA-000000> <Cannot find JNDI binding for 'java:comp/env/com.sunking.modules.webservice.EvalResultWebServiceImpl/forcastDaoImpl' Call to NamingManager.getObjectInstance() failed: > ####<2016-2-25 下午03时30分31秒 CST> <Error> <weblogic.wsee.jaxws.injection.WSEEComponentContributor> <DADI> <AdminServer> <[ACTIVE] ExecuteThread: '29' for queue: 'weblogic.kernel.Default (self-tuning)'> <<anonymous>> <> <f1e8e4c0-6b8f-47d2-91d4-1e793e539693-00000008> <1456385431058> <[severity-value: 8] [rid: 0] [partition-id: 0] [partition-name: DOMAIN] > <BEA-000000> <Error creating bean with name 'com.sunking.modules.webservice.EvalResultWebServiceImpl': Initialization of bean failed; nested exception is com.bea.core.repackaged.springframework.beans.factory.BeanCreationException: Dependency injection failure: can't find the bean definition about class interface com.sunking.modules.dao.ForcastDao; nested exception is com.bea.core.repackaged.springframework.beans.factory.NoSuchBeanDefinitionException: No unique bean of type [com.sunking.modules.dao.ForcastDao] is defined: No beans of type com.sunking.modules.dao.ForcastDao; owner=com.oracle.pitchfork.inject.PitchforkGenericApplicationContext@2b106039: display name [com.oracle.pitchfork.inject.PitchforkGenericApplicationContext@2b106039]; startup date [Thu Feb 25 15:30:30 CST 2016]; parent: com.bea.core.repackaged.springframework.context.support.GenericApplicationContext@45fa1e47; nested exception is com.bea.core.repackaged.springframework.beans.factory.NoSuchBeanDefinitionException: No bean named 'com.sunking.modules.webservice.EvalResultWebServiceImpl/forcastDaoImpl' is defined; nested exception is javax.naming.ConfigurationException: Call to NamingManager.getObjectInstance() failed: [Root exception is java.lang.NullPointerException]; remaining name ''java.lang.InstantiationException: Error creating bean with name 'com.sunking.modules.webservice.EvalResultWebServiceImpl': Initialization of bean failed; nested exception is com.bea.core.repackaged.springframework.beans.factory.BeanCreationException: Dependency injection failure: can't find the bean definition about class interface com.sunking.modules.dao.ForcastDao; nested exception is com.bea.core.repackaged.springframework.beans.factory.NoSuchBeanDefinitionException: No unique bean of type [com.sunking.modules.dao.ForcastDao] is defined: No beans of type com.sunking.modules.dao.ForcastDao; owner=com.oracle.pitchfork.inject.PitchforkGenericApplicationContext@2b106039: display name [com.oracle.pitchfork.inject.PitchforkGenericApplicationContext@2b106039]; startup date [Thu Feb 25 15:30:30 CST 2016]; parent: com.bea.core.repackaged.springframework.context.support.GenericApplicationContext@45fa1e47; nested exception is com.bea.core.repackaged.springframework.beans.factory.NoSuchBeanDefinitionException: No bean named 'com.sunking.modules.webservice.EvalResultWebServiceImpl/forcastDaoImpl' is defined; nested exception is javax.naming.ConfigurationException: Call to NamingManager.getObjectInstance() failed: [Root exception is java.lang.NullPointerException]; remaining name '' at com.oracle.pitchfork.spi.WSEEComponentContributorBrokerImpl.getBean(WSEEComponentContributorBrokerImpl.java:45) at weblogic.wsee.jaxws.injection.WSEEComponentContributor.loadUsingSpring(WSEEComponentContributor.java:72) at weblogic.wsee.jaxws.injection.WSEEComponentContributor.newInstance(WSEEComponentContributor.java:49) at weblogic.wsee.jaxws.injection.WSEEComponentContributor.newInstance(WSEEComponentContributor.java:43) ……………………
解决方案
来个大神帮忙分析分析啊。。。
时间: 2025-01-01 01:11:56