1> 2009-05-23 Tag--org.apache.commons.collections.FastHashMap
整合SSH过程中,启动报错
java.lang.SecurityException: class "org.apache.commons.collections.FastHashMap"'s signer information does not match signer information of other classes in the same package
a 可能没有commons-beanutils-1.7.0.jar包
http://topic.csdn.net/u/20071002/15/084eb69f-fe60-465f-a5db-7a9a4a6b7f03.html
你下载一个新的Jar包,放在你的WebRoot文件夹里的lib文件下,就没有问题了。那个Jar包的名字是“commons-beanutils-1.7.0.jar”
commons-beanutils-1.7.0.jar下载地址
http://www.java2s.com/Code/Jar/Apache-Common/Downloadcommonsbeanutils170jar.htm
b commons-beanutils-1.7.0.jar包和commons-collections-3.2.jar包冲突
将commons-collections-3.2.jar包换成commons-collections-3.1.jar
commons-collections-3.1.jar下载地址
http://www.java2s.com/Code/Jar/ABC/Downloadcommonscollections31jar.htm
2> 2009-06-02 Tag -- org.apache.commons.collections.SequencedHashMap
在是用spring整合hibernate时候总是报出org.apache.commons.collections.SequencedHashMap"'s signer information does not match signer information of other classes in the same package 的异常
解决方法是:包冲突的问题,你的项目中MyEclipse会加一个commons-collections-2.1.1.jar包和commons-collections.jar包,将前者删除即可.
--------------------------
"org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sessionFactory' defined in ServletContext resource [/WEB-INF/classes/applicationContext.xml]: Invocation of init method failed; nested exception is java.lang.ExceptionInInitializerError
Caused by:
java.lang.ExceptionInInitializerError
解决:
spring与hibernate的冲突.两个框架都依赖asm.jar包spring的版本是asm-2.23.jar.hibernate依赖的是asm.jar
需要将asm-2.2.3.jar删除.没有删除的话会引起这样的异常