严重: Exception sending context initialized event to listener instance of class org.springframework.web.context.ContextLoaderListener
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.SequencedHashMap"'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.SequencedHashMap"'s signer information does not match signer information of other classes in the same package-------------------------------------------------------public class Admin implements java.io.Serializable {
private int adminid;
private String name;
private String password;
private Set courses=new HashSet();
private Set Teachers=new HashSet();
private Set Students=new HashSet();
...
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.SequencedHashMap"'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.SequencedHashMap"'s signer information does not match signer information of other classes in the same package-------------------------------------------------------public class Admin implements java.io.Serializable {
private int adminid;
private String name;
private String password;
private Set courses=new HashSet();
private Set Teachers=new HashSet();
private Set Students=new HashSet();
...
解决方案 »
- swfupload 获取上传文件路径问题
- 关于HibernateTemplate 异常的问题
- List元素顺序问题
- 标签文件tag里写foreach会出错,c:out就没问题
- 急急急!!!我在Jsp(Java)中怎样返回存储过程的多个记录集??
- 音频文件格式转换!!!急!急!急!(困了几天了)
- 请大家帮个忙,是关于javascript的一个问题,很急。[急,急]
- 如何将设计好的系统发布
- 请教诸位兄弟一个简单的问题!复选框怎么传参?
- Spring mybatis 统计计数时并发问题
- 请教各位tomcat中servlet映射到底怎么写?
- MyEclipse生成hibernate映射时报Generating Artifacts错误!
很容易想象,一个工程入两个一样的包会有什么结果,不妨自己测试一下,是不是同样的错误。解决办法就更简单了
首先到C:\Program Files\MyEclipse 6.0\myeclipse\eclipse\plugins\
com.genuitec.eclipse.cross.
easystruts.eclipse_6.0.0.
zmyeclipse60020070820\lib 中COPY
commons-beanutils-1.6.1.jar 到
C:\Program Files\MyEclipse 6.0\myeclipse\eclipse\plugins\com.genuitec.
eclipse.cross.easystruts.eclipse_6.0.0.
zmyeclipse60020070820\data\1.3\lib 中
然后呢,MyEclipces6.0GA 还是只会加载他的1.7而
不会加载我们新放进去的1.6。
所以把新放进去的文件更名为commons-beanutils-1.7.0.jar重新启动Myclipse 删除先前部署的工程从新部署进去,大公告成!