關於MyEclipse6.0配置SSH時遇到的問題

333111444發表於2007-11-14
我用的是Eclipse3.3,MyEclipse6.0,JDK1.6,Tomcat6.0.
要配置一個Struts1.2,Spring1,Hibernate3.0的web工程。
但是啟動tomcat時總是報如下錯誤:
嚴重: action: null
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sessionfactory' defined in ServletContext resource [/WEB-INF/beans-config.xml]: Initialization of bean 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
java.lang.SecurityException: class "org.apache.commons.collections.SequencedHashMap"'s signer information does not match signer information of other classes in the same package
at java.lang.ClassLoader.checkCerts(ClassLoader.java:775)
at java.lang.ClassLoader.preDefineClass(ClassLoader.java:487)
at java.lang.ClassLoader.defineClass(ClassLoader.java:614)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124)
at org.apache.catalina.loader.WebappClassLoader.findClassInternal(WebappClassLoader.java:1817)
at org.apache.catalina.loader.WebappClassLoader.findClass(WebappClassLoader.java:872).........[@more@]Spring2.0 AOP Liberaries裡的asm2.2.3.jar和Hiberate中的生成代理用的asm.jar衝突,後來把asm2.2.3.jar刪了才好使

來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/12058779/viewspace-982385/,如需轉載,請註明出處,否則將追究法律責任。

相關文章