"org.apache.commons.collections.SequencedHashMap"'s signer information does not match signer informationf错误解决
来源:互联网 发布:mac怎么换管理员名字 编辑:程序博客网 时间:2024/04/30 20:16
我找了半天才找到,所以决定转载,希望帮到更多人.
当Web层和Struts整合后,就抛出如下异常:
%%%% Error Creating SessionFactory %%%% java.lang.SecurityException: class "org.apache.commons.collections.SequencedHashMap"'s signer information does not match signer information of other classes in the same package
解决方案:
1)下载 MyEclipse 6.0.1 来开发;
2)或者去http://commons.apache.org/collections/ 下载一个新的包,把原来的commons-collections-xxx.jar给删了,然后用新的包替换。注意:一定要到应用的发布目录去做这个工作,而且替换后不能重新发布应用,然后立即重启Tomcat再测试。
如果再报下面的错误:ERROR [org.hibernate.proxy.BasicLazyInitializer] - CGLIB Enhancement failed: dao.User
java.lang.NoSuchMethodError: org.objectweb.asm.ClassVisitor.visit(IILjava/lang/String;Ljava/lang/String;[Ljava/lang/String;Ljava/lang/String;)V
at net.sf.cglib.core.ClassEmitter.begin_class(ClassEmitter.java:77)
则是:
Spring 和 Hibernate 共用的一些 jar 文件发生了版本冲突, 删除 WEB-INF/lib/asm-2.2.3.jar即可
出处:http://www.cnblogs.com/ffvsff/archive/2008/02/14/1069064.html
- "org.apache.commons.collections.SequencedHashMap"'s signer information does not match signer informationf错误解决
- 解决org.apache.commons.collections.SequencedHashMap"'s signer information does not match signer information of other classes in th
- class "org.apache.commons.collections.FastHashMap"'s signer information does not match signer inform
- 【转】class "org.apache.commons.collections.CursorableLinkedList"'s signer information does not match signer information of other c
- Struts + Hibernate 的异常,class "org.apache.commons.collections.CursorableLinkedList"'s signer information does not match signer in
- class "org.apache.log4j.PropertyConfigurator"'s signer information does not match signer information
- s signer information does not match signer information of other classes in the same packag
- java.lang.SecurityException: class "org.hamcrest.Matchers"'s signer information does not match signe
- signer information does not match问题解决
- signer information does not match问题解决
- 报class "org.apache.log4j.PropertyConfigurator"'s signer information does not...
- class "junit.framework.JUnit4TestAdapter"'s signer information does not match signer information of other classes in the same pa
- signer information does not match signer information of other classes in the same package
- Jetty启动时报class "javax.servlet.HttpConstraintElement"'s signer information does not match的原因
- SecurityException: class signer information does not match signer……异常,解决办法
- java.lang.SecurityException: class "org.hamcrest.TypeSafeMatcher"'s signer information does not matc
- 被低估的BIRT报表(五):signer information does not match
- myeclipse下开发jface出现text包冲突[signer information does not match signer information of other classes in the same package]
- Delphi中获取打印机设备名和端口名
- 正则表达式(3)(源于MSDN)
- 根据判断浏览器类型屏幕分辨率自动调用不同CSS的代码
- MySQL进阶_SELECT篇(三)
- 语法高亮
- "org.apache.commons.collections.SequencedHashMap"'s signer information does not match signer informationf错误解决
- “云计算”(Cloud Computing)到底是何物?
- 你未必知道的10个CSS技巧
- TCP/IP (四)
- mysql快速入门
- CSS布局自适应高度解决方法
- MySQL进阶_SELECT篇(一)
- 截获Delphi中的异常
- CSS样式表一席谈之利用CSS改变字体