- This topic has 52 replies, 12 voices, and was last updated 17 years, 2 months ago by Riyad Kalla.
-
AuthorPosts
-
ajibarraMemberHi all, i am using MyEclipse 5.5 and i create a Struts,Hibernate project, when i tried to access db with Session Factory i get the follow error:
%%%% 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 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) at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1325) at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1204)
I read in other post that MyEclipse Installer Team signed the jars on 6.0 but i use 5.5..
Need HELP!!
Thank you,
Alejandro Ibarra
Riyad KallaMemberAlejandro,
This is a known issue and we no longer sign those JARs in our upcoming 6.0 release. In the mean time,what you can do (and might need to do) is download the version of Hibernate you were using from the Hibernate site, and create a User Library with all those JARs in it, and add that to your build path of your project and remove the MyEclipse Hibernate libraries for the time being.We are really sorry for the trouble.
harryajhMemberHi, I have exactly the same problem – when you say to down load hibernate and create a user with “all those JARs in it” – is that every single jar in the hibernate-3.1.1.zip file, just the hibernate3.jar file? – if all do I have to remove any jars of the same name already in my project?
thanks
harry
harryajhMemberin fact, reading the post again I’m using ME 6 M1 & Eclipse 3.2.2 BUT still get exactly the same error – stopped me completely in my tracks!
any ideas?
Riyad KallaMemberHarry,
This issue is fixed in 6.0 GA (due out any day now) it wasn’t fixed in 6.0M1, sorry about that.Also the only JARs you need to replace are hibernate3.jar and the cglib JAR.
harryajhMembercan you please tell me which day? – had to go back to 5.5 which keeps crashing Eclipse under the biggest virus ever release aka Vista!
Loyal WaterMemberIt was due to be released this weekend. It should be out today or latest by Monday provided we dont run into any last minute issues.
harryajhMemberstill no sign – any idea when?
Riyad KallaMemberFinal testing on GA occurring right now. Making sure we didn’t miss anything silly.
lchuenyaMemberI just downloaded and installed 6.0.0GA. Still getting the same error.
denmillsMemberI am also getting this error with a new install of 6.0 GA
lchuenyaMemberAs a workaround, I created my own Hibernate Library as suggested. This didn’t solve the problem until I replace the apache-commons.jar that came with MyEclipse’s Spring Core libraries. Replacing the jar with Hibernate’s copy solved the problem.
Riyad KallaMemberFor the folks still having problems even after 6.0 GA was installed, go to Window > Prefs > Project Caps > Hibernate, and on each Tab, hit “Restore Defaults”
The paths are likely still pointing at the 6.0M1 libraries and not the 6.0 GA ones. Sometimes the project caps do that.
denmillsMemberI tried the suggestion to restore the defaults on all of the hibernate libraries with no luck.
The only thing that worked for my project so far (myfaces 1.1 with hibernate 3.1 on Tomcat 6) was to remove the common-collections.jar (version 2.1.1) from the core hibernate 3.1 libraries. There is another more recent version (3.1) of the common-collections.jar file that comes with the myfaces 1.1 libraries. and this seems to work.
Any more ideas on how to resolve this issue or is it just a bug?
Riyad KallaMemberdenmills… so you weren’t having the signed JAR issue that this thread describes, but instead a library conflict?
-
AuthorPosts