2 zhch 1029 zhch_1029 于 2016.02.25 15:39 提问

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)
    ……………………

1个回答

zhch_1029
zhch_1029   2016.02.29 11:04

来个大神帮忙分析分析啊。。。

Csdn user default icon
上传中...
上传图片
插入图片
准确详细的回答,更有利于被提问者采纳,从而获得C币。复制、灌水、广告等回答会被删除,是时候展现真正的技术了!