随笔 - 0, 文章 - 264, 评论 - 170, 引用 - 0
数据加载中……

Caused by: java.lang.NoClassDefFoundError: com/sun/xml/bind/CycleRecoverable

解决步骤:
1、将jaxb-impl-2.1.12.jar和jaxb-api-2.1.jar放到jre/lib/endorsed/目录下,如果没有endorsed目录,则新建之,一般情况下是没有的。
2、将jaxb-impl-2.1.12.jar和jaxb-api-2.1.jar放到$TOMCAT_HOME/lib/endorsed/目录下,如果没有endorsed目录,则新建之,一般情况下是没有的。

posted on 2012-11-16 04:53 小一败涂地 阅读(10287) 评论(1)  编辑  收藏 所属分类: tomcat、apache、jboss等服务器相关jersery、struts等web框架相关java语言相关java规范相关jsp,servlet相关

评论

# 这个是什么错啊  回复  更多评论   

Caused by: java.lang.NoClassDefFoundError: com/sun/jmx/snmp/Timestamp
at java.lang.Class.getDeclaredMethods0(Native Method) [rt.jar:1.7.0_10]
at java.lang.Class.privateGetDeclaredMethods(Class.java:2442) [rt.jar:1.7.0_10]
at java.lang.Class.getDeclaredMethods(Class.java:1808) [rt.jar:1.7.0_10]
at org.apache.ibatis.reflection.Reflector.getClassMethods(Reflector.java:274) [mybatis-3.2.0.jar:3.2.0]
at org.apache.ibatis.reflection.Reflector.addGetMethods(Reflector.java:94) [mybatis-3.2.0.jar:3.2.0]
at org.apache.ibatis.reflection.Reflector.<init>(Reflector.java:61) [mybatis-3.2.0.jar:3.2.0]
at org.apache.ibatis.reflection.Reflector.forClass(Reflector.java:458) [mybatis-3.2.0.jar:3.2.0]
at org.apache.ibatis.reflection.MetaClass.<init>(MetaClass.java:34) [mybatis-3.2.0.jar:3.2.0]
at org.apache.ibatis.reflection.MetaClass.forClass(MetaClass.java:38) [mybatis-3.2.0.jar:3.2.0]
at org.apache.ibatis.builder.MapperBuilderAssistant.resolveResultJavaType(MapperBuilderAssistant.java:450) [mybatis-3.2.0.jar:3.2.0]
at org.apache.ibatis.builder.MapperBuilderAssistant.assembleResultMapping(MapperBuilderAssistant.java:401) [mybatis-3.2.0.jar:3.2.0]
at org.apache.ibatis.builder.MapperBuilderAssistant.buildResultMapping(MapperBuilderAssistant.java:220) [mybatis-3.2.0.jar:3.2.0]
at org.apache.ibatis.builder.xml.XMLMapperBuilder.buildResultMappingFromContext(XMLMapperBuilder.java:365) [mybatis-3.2.0.jar:3.2.0]
at org.apache.ibatis.builder.xml.XMLMapperBuilder.resultMapElement(XMLMapperBuilder.java:272) [mybatis-3.2.0.jar:3.2.0]
at org.apache.ibatis.builder.xml.XMLMapperBuilder.resultMapElement(XMLMapperBuilder.java:244) [mybatis-3.2.0.jar:3.2.0]
at org.apache.ibatis.builder.xml.XMLMapperBuilder.resultMapElements(XMLMapperBuilder.java:236) [mybatis-3.2.0.jar:3.2.0]
at org.apache.ibatis.builder.xml.XMLMapperBuilder.configurationElement(XMLMapperBuilder.java:109) [mybatis-3.2.0.jar:3.2.0]
at org.apache.ibatis.builder.xml.XMLMapperBuilder.parse(XMLMapperBuilder.java:88) [mybatis-3.2.0.jar:3.2.0]
at org.apache.ibatis.builder.xml.XMLConfigBuilder.mapperElement(XMLConfigBuilder.java:316) [mybatis-3.2.0.jar:3.2.0]
at org.apache.ibatis.builder.xml.XMLConfigBuilder.parseConfiguration(XMLConfigBuilder.java:104) [mybatis-3.2.0.jar:3.2.0]
at org.apache.ibatis.builder.xml.XMLConfigBuilder.parse(XMLConfigBuilder.java:89) [mybatis-3.2.0.jar:3.2.0]
at org.mybatis.spring.SqlSessionFactoryBean.buildSqlSessionFactory(SqlSessionFactoryBean.java:428) [mybatis-spring-1.2.1.jar:1.2.1]
at org.mybatis.spring.SqlSessionFactoryBean.afterPropertiesSet(SqlSessionFactoryBean.java:340) [mybatis-spring-1.2.1.jar:1.2.1]
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1541) [spring-beans-3.2.3.RELEASE.jar:3.2.3.RELEASE]
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1479) [spring-beans-3.2.3.RELEASE.jar:3.2.3.RELEASE]
... 20 more
Caused by: java.lang.ClassNotFoundException: com.sun.jmx.snmp.Timestamp from [Module "deployment.ufa.war:main" from Service Module Loader]
at org.jboss.modules.ModuleClassLoader.findClass(ModuleClassLoader.java:190)
at org.jboss.modules.ConcurrentClassLoader.performLoadClassUnchecked(ConcurrentClassLoader.java:468)
at org.jboss.modules.ConcurrentClassLoader.performLoadClassChecked(ConcurrentClassLoader.java:456)
at org.jboss.modules.ConcurrentClassLoader.performLoadClass(ConcurrentClassLoader.java:398)
at org.jboss.modules.ConcurrentClassLoader.loadClass(ConcurrentClassLoader.java:120)
... 45 more
2013-12-27 11:08 | xixi

只有注册用户登录后才能发表评论。


网站导航: