首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 网站开发 > Web前端 >

ModelBuilder.class) needs 2.1 API

2013-09-11 
ModelBuilder.class) needs 2.1 API. [DH-OFFICE] 2012-12-17 22:56:35 INFO [main] MyLocalSessionFactor

ModelBuilder.class) needs 2.1 API.
 [DH-OFFICE] 2012-12-17 22:56:35 INFO [main] MyLocalSessionFactoryBean.buildSessionFactory(730) | Building new Hibernate SessionFactory
[DH-OFFICE] 2012-12-17 22:57:00 INFO [main] MyLocalSessionFactoryBean.destroy(246) | Closing Hibernate SessionFactory
[DH-OFFICE] 2012-12-17 22:57:00 ERROR [main] ContextLoader.initWebApplicationContext(215) | 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:/F:/apache-tomcat-6.0.16/webapps/dhoffice/WEB-INFModelBuilder.class) needs 2.1 APIb/jaxb-impl-2.1.13.jar!/comModelBuilder.class) needs 2.1 API/xml/bindModelBuilder.class) needs 2.1 API2/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 org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateBean(AbstractAutowireCapableBeanFactory.java:883)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:839)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:440)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$1.run(AbstractAutowireCapableBeanFactory.java:409)
at java.security.AccessController.doPrivileged(Native Method) 
我的异常网推荐解决方案:org.springframework.beans.factory.BeanCreationException:,http://www.myexception.cn/j2ee/10759.html

热点排行