org.apache.xerces.parsers.XML11Configuration cannot be cast to org.apache.xerces.xni.parser.XMLParserConfiguration
这个错误将 xerce.jar 删除掉就ok了
Cannot locate the chosen ObjectFactory implementation: spring
项目中少了struts2-spring-plugin-2.0.6.jar包
Caused by: java.lang.NoClassDefFoundError: org/aspectj/weaver/reflect/ReflectionWorld$ReflectionWorldException
aspectjweaver-1.6.9.jar
org/objectweb/asm/Type异常
nested exception is java.lang.NoClassDefFoundError: org/objectweb/asm/Type
原因是Spring中的cglib-nodep-2.1.3.jar与Hibernate中的cglib-2.2.jar相冲突!
两种框架整合时Spring中的cglib-nodep-2.1.3.jar是必须的,取消Hibernate中的cglib-2.2.jar即可
这个错误将 xerce.jar 删除掉就ok了
Cannot locate the chosen ObjectFactory implementation: spring
项目中少了struts2-spring-plugin-2.0.6.jar包
Caused by: java.lang.NoClassDefFoundError: org/aspectj/weaver/reflect/ReflectionWorld$ReflectionWorldException
aspectjweaver-1.6.9.jar
org/objectweb/asm/Type异常
nested exception is java.lang.NoClassDefFoundError: org/objectweb/asm/Type
原因是Spring中的cglib-nodep-2.1.3.jar与Hibernate中的cglib-2.2.jar相冲突!
两种框架整合时Spring中的cglib-nodep-2.1.3.jar是必须的,取消Hibernate中的cglib-2.2.jar即可