专注收集记录技术开发学习笔记、技术难点、解决方案
网站信息搜索 >> 请输入关键词:
您当前的位置: 首页 > Java相关

is org.springframework.beans.BeanInstantiationException: Could

发布时间:2010-06-05 14:16:06 文章来源:www.iduyao.cn 采编人员:星星草
cxf+spring,求救。
Java code

严重: Context initialization failed
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.apache.cxf.wsdl.WSDLManager' 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.wsdl11.WSDLManagerImpl]: Constructor threw exception; nested exception is java.lang.LinkageError: JAXB 2.0 API is being loaded from the bootstrap classloader, but this RI (from jar:file:/C:/Program%20Files/Apache%20Software%20Foundation/Tomcat%206.0/webapps/WebOrder/WEB-INF/lib/jaxb-impl-2.1.13.jar!/com/sun/xml/bind/v2/model/impl/ModelBuilder.class) needs 2.1 API. Use the endorsed directory mechanism to place jaxb-api.jar in the bootstrap classloader. (See http://java.sun.com/j2se/1.5.0/docs/guide/standards/)
    at ....
Caused by: org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [org.apache.cxf.wsdl11.WSDLManagerImpl]: Constructor threw exception; nested exception is java.lang.LinkageError: JAXB 2.0 API is being loaded from the bootstrap classloader, but this RI (from jar:file:/C:/Program%20Files/Apache%20Software%20Foundation/Tomcat%206.0/webapps/WebOrder/WEB-INF/lib/jaxb-impl-2.1.13.jar!/com/sun/xml/bind/v2/model/impl/ModelBuilder.class) needs 2.1 API. Use the endorsed directory mechanism to place jaxb-api.jar in the bootstrap classloader. (See http://java.sun.com/j2se/1.5.0/docs/guide/standards/)
    at  ....
2010-11-24 10:47:18 org.apache.catalina.core.StandardContext start
严重: Error listenerStart
2010-11-24 10:47:18 org.apache.catalina.core.StandardContext start
严重: Context [/WebOrder] startup failed due to previous errors
2010-11-24 10:47:18 org.apache.catalina.core.ApplicationContext log
信息: Closing Spring root WebApplicationContext
2010-11-24 10:47:19 org.apache.struts.validator.ValidatorPlugIn initResources
信息: Loading validation rules file from '/WEB-INF/validator-rules.xml'
2010-11-24 10:47:19 org.apache.struts.validator.ValidatorPlugIn initResources
信息: Loading validation rules file from '/WEB-INF/validation.xml'
2010-11-24 10:47:19 org.apache.coyote.http11.Http11Protocol start
信息: Starting Coyote HTTP/1.1 on http-8000
2010-11-24 10:47:19 org.apache.jk.common.ChannelSocket init
信息: JK: ajp13 listening on /0.0.0.0:8009
2010-11-24 10:47:19 org.apache.jk.server.JkMain start
信息: Jk running ID=0 time=0/0  config=null
2010-11-24 10:47:19 org.apache.catalina.startup.Catalina start
信息: Server startup in 7433 ms



这是什么原因?
我基本是按照这个教程搞的:http://www.cnblogs.com/modou/articles/1390645.html


------解决方案--------------------
我来了,还以为jar包冲突呢
------解决方案--------------------
要分........................................
------解决方案--------------------
。。。。。。。。
------解决方案--------------------
那就要吧
友情提示:
信息收集于互联网,如果您发现错误或造成侵权,请及时通知本站更正或删除,具体联系方式见页面底部联系我们,谢谢。

其他相似内容:

热门推荐: