1.java.lang.ClassNotFoundException: org.apache.commons.logging.LogFactory
?? 添加包common-logging.jar
2.java.lang.ClassNotFoundException: javax.transaction.Synchronization
???? 添加包jta.jar(hiberante)
3.java.lang.ClassNotFoundException: org.dom4j.DocumentException
???? 添加包dom4j-1.6.1.jar
4.java.lang.ClassNotFoundException: org.apache.commons.collections.SequencedHashMap
???? 添加包commons-collections.jar
5.java.lang.ClassNotFoundException: net.sf.cglib.proxy.CallbackFilter
???? java.lang.NoClassDefFoundError: net/sf/cglib/proxy/CallbackFilter
???? 添加包cglib-2.1.3.jar
6.java.lang.ClassNotFoundException: org.objectweb.asm.Type
???? 添加包asm.jar
7.java.lang.ClassNotFoundException: antlr.ANTLRException
???? 添加包antlr.jar
8.java.lang.ClassNotFoundException: net.sf.ehcache.CacheException
???? 添加包ehcache-1.2.3.jar
?
Caused by: java.lang.NoSuchMethodError: org.objectweb.asm.ClassWriter.<init>(I)V
将cglib.jar 由2.2版本 改为 2.1。
?
文章来源:http://blog.csdn.net/niqinwen/article/details/7594854