Struts + Hibernate 的异常,class "org.apache.commons.collections.CursorableLinkedList"'s signer information does not match signer in
来源:互联网 发布:我心依然留言板源码 编辑:程序博客网 时间:2024/05/16 17:44
class "org.apache.commons.collections.CursorableLinkedList"'s signer information does not match signer information of other classes in the same package
在做Struts + Hibernate 的项目时遇到了这个问题,纠缠了几天,在网上找了几篇,才大概找到了问题原因,是包冲突。但没有一个比较完整的描述。我的理解就是下面这些:
异常是说org.apache.commons.collections的数字签名和其他类的不匹配。
在Struts 1.2 的核心包里有一个commons-beanutils.jar 这个的版本是1.7.0,里面有commons.collections。(你可以打开这个jar看看,里面确实有这个东西)而在Hibernate 3.0 的核心包也有一个commons-collections.jar。这就造成了冲突。
解决方法:将Struts 1.2 的核心包里有一个commons-beanutils-1.7.0.jar 换成commons-beanutils-1.6.1版本的包。这样就不会再出这个异常了。呵呵。
我是个初学者,最奇怪的是在开始用这个的时候,这个有时就报这个异常有时候就没了,不知道为什么。
哪位知道的多一点,还请留言啊
- Struts + Hibernate 的异常,class "org.apache.commons.collections.CursorableLinkedList"'s signer information does not match signer in
- 【转】class "org.apache.commons.collections.CursorableLinkedList"'s signer information does not match signer information of other c
- class "org.apache.commons.collections.FastHashMap"'s signer information does not match signer inform
- 解决org.apache.commons.collections.SequencedHashMap"'s signer information does not match signer information of other classes in th
- "org.apache.commons.collections.SequencedHashMap"'s signer information does not match signer informationf错误解决
- class "org.apache.log4j.PropertyConfigurator"'s signer information does not match signer information
- class "junit.framework.JUnit4TestAdapter"'s signer information does not match signer information of other classes in the same pa
- 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
- SecurityException: class signer information does not match signer……异常,解决办法
- 报class "org.apache.log4j.PropertyConfigurator"'s signer information does not...
- Jetty启动时报class "javax.servlet.HttpConstraintElement"'s signer information does not match的原因
- signer information does not match signer information of other classes in the same package
- signer information does not match问题解决
- signer information does not match问题解决
- java.lang.SecurityException: class "org.hamcrest.TypeSafeMatcher"'s signer information does not matc
- java.lang.SecurityException: class "javax.servlet.FilterRegistration"'s signer information does not
- 被低估的BIRT报表(五):signer information does not match
- 关于比特序的问题
- 在Access数据库中存入系统时间的处理方法
- VSS使用技巧
- C/C++中的结构体
- sql事务
- Struts + Hibernate 的异常,class "org.apache.commons.collections.CursorableLinkedList"'s signer information does not match signer in
- #define用法[资料收集自网络]
- windows下vs 中opengl的配置
- java单例
- 几种排序的区别和说明
- 十字链表
- CHM文件无法正常显示
- 消除类之间的相互引用
- Boost库中的Traits(is_array, is_const)