项目部署到WebSphere下后异常,tomcat中正常 20
问题是这样的之前一直都是在tomcat下使用的现在突然说要部署到webSqhere上,部署上去后访问登陆页面报500错误如下截图异常日志:com.opensymphony...
问题是这样的 之前一直都是在tomcat下使用的 现在突然说要部署到webSqhere上,部署上去后访问登陆页面报500错误如下截图
异常日志:
com.opensymphony.xwork2.util.logging.commons.CommonsLogger fatal Error creating bean with name 'queryLogService': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: private com.pactera.bosBigData.webService.HBaseLogQueryService com.pactera.bigdata.common.service.impl.QueryLogService.hBaseLogQueryService; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.apache.cxf.binding.soap.SoapBindingFactory' defined in class path resource [META-INF/cxf/cxf-extension-soap.xml]: Cannot resolve reference to bean 'cxf' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'cxf' defined in class path resource [META-INF/cxf/cxf.xml]: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [org.apache.cxf.bus.spring.SpringBus]: Constructor threw exception; nested exception is org.apache.cxf.bus.extension.ExtensionException 展开
异常日志:
com.opensymphony.xwork2.util.logging.commons.CommonsLogger fatal Error creating bean with name 'queryLogService': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: private com.pactera.bosBigData.webService.HBaseLogQueryService com.pactera.bigdata.common.service.impl.QueryLogService.hBaseLogQueryService; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.apache.cxf.binding.soap.SoapBindingFactory' defined in class path resource [META-INF/cxf/cxf-extension-soap.xml]: Cannot resolve reference to bean 'cxf' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'cxf' defined in class path resource [META-INF/cxf/cxf.xml]: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [org.apache.cxf.bus.spring.SpringBus]: Constructor threw exception; nested exception is org.apache.cxf.bus.extension.ExtensionException 展开
- 你的回答被采纳后将获得:
- 系统奖励15(财富值+成长值)+难题奖励10(财富值+成长值)+提问者悬赏20(财富值+成长值)
1个回答
2014-10-31
展开全部
Error creating bean with name
'org.apache.cxf.binding.soap.SoapBindingFactory' defined in class path
resource [META-INF/cxf/cxf-extension-soap.xml]: Cannot resolve reference
to bean 'cxf' while setting constructor argument; nested exception is
org.springframework.beans.factory.BeanCreationException: Error creating
bean with name 'cxf' defined in class path resource
[META-INF/cxf/cxf.xml]: Instantiation of bean failed; nested exception
is org.springframework.beans.BeanInstantiationException: Could not
instantiate bean class [org.apache.cxf.bus.spring.SpringBus]:
Constructor threw exception; nested exception is
org.apache.cxf.bus.extension.ExtensionException
cxf 的配置有问题,看看是如何配置的
'org.apache.cxf.binding.soap.SoapBindingFactory' defined in class path
resource [META-INF/cxf/cxf-extension-soap.xml]: Cannot resolve reference
to bean 'cxf' while setting constructor argument; nested exception is
org.springframework.beans.factory.BeanCreationException: Error creating
bean with name 'cxf' defined in class path resource
[META-INF/cxf/cxf.xml]: Instantiation of bean failed; nested exception
is org.springframework.beans.BeanInstantiationException: Could not
instantiate bean class [org.apache.cxf.bus.spring.SpringBus]:
Constructor threw exception; nested exception is
org.apache.cxf.bus.extension.ExtensionException
cxf 的配置有问题,看看是如何配置的
本回答被网友采纳
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询