JDK6+Tomcat6+MyEclipse6,整合Struts,Spring,Hibernate出现异常

来源:互联网 发布:数据分析师证考试科目 编辑:程序博客网 时间:2024/04/29 21:43

JDK6+Tomcat6+MyEclipse6,整合Struts,Spring,Hibernate出现异常

 org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sessionFactory' defined in ServletContext resource [/WEB-INF/applicationContext.xml]: Invocation of init method failed; nested exception is java.lang.SecurityException: class "org.apache.commons.collections.CursorableLinkedList"'s signer information does not match signer information of other classes in the same package
Caused by: java.lang.SecurityException: class "org.apache.commons.collections.CursorableLinkedList"'s signer information does not match signer information of other classes in the same package

原因:

MyEclipse对commons-beanutils包签名冲突

解决方法:

http://www.apache.org/dist/commons/beanutils/binaries/

重新下载一个commons-beanutils,覆盖

原创粉丝点击