- org/objectweb/asm/Type异常
- nested exception is java.lang.NoClassDefFoundError: org/objectweb/asm/Type
org/objectweb/asm/Type异常
nested exception is java.lang.NoClassDefFoundError: org/objectweb/asm/Type
解决方法:
- 原因是Spring中的com.springsource.net.sf.cglib-2.2.0.jar与Hibernate中的cglib-2.2.jar相冲突!
- 两种框架整合时Spring中的com.springsource.net.sf.cglib-2.2.0.jar是必须的,取消Hibernate中的cglib-2.2.jar即可

本文介绍了解决Spring框架与Hibernate框架在使用过程中因cglib版本冲突导致的org/objectweb/asm/Type异常问题的方法。冲突源于Spring中的com.springsource.net.sf.cglib-2.2.0.jar与Hibernate中的cglib-2.2.jar不兼容。
1041

被折叠的 条评论
为什么被折叠?



