[opencms-dev] (upgrade to 6.2.2) Hibernate 2.1 library dependency error

Jorge González informatico at hotelparadisepark.com
Tue Aug 1 14:15:16 CEST 2006


Hi list:

I've recently updated to 6.2.2 and I had a library dependency problem.

Really don't know if it's related to opencms 6.2.2 but i will post the 
solution.

If you see a

java.lang.NoClassDefFoundError: org/objectweb/asm/Type
or a
java.lang.NoSuchMethodError: 
org.objectweb.asm.ClassVisitor.visit(IILjava/lang/String;Ljava/lang/String;[Ljava/lang/String;Ljava/lang/String;)V

when you use your hibernate classes, just delete the cglib-xxx.jar and 
the asm.jar files from your deploy/nnn/WEB-INF/lib folder, and copy 
there the updated

cglib-nodep-2.1_3.jar <http://www.ibiblio.org/maven2/cglib/cglib-nodep/2.1_3/cglib-nodep-2.1_3.jar>

My env:
- jboss 4.0.2
- opencms 6.2.2
- mysql 4.1
- windows xp pro sp2


Hope it helps. Thanks.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://webmail.opencms.org/pipermail/opencms-dev/attachments/20060801/d4919bc1/attachment.htm>


More information about the opencms-dev mailing list