Hibernate version: 2.1.8
Name and version of the database you are using: DB2 v7 for zOS
I noticed that a number of users seem to have an additional copy of the ASM library (asm*.jar) in their WEB-INF/lib files like myself. I was under the impression that CGLIB 2.0.2 was making use of this library. Upon further investigation, I realized that CGLIB already has the ASM library packaged in its .jar for 2.0.2, so there is no need for additional ASM libraries if Hibernate/CGLIB is the only thing using it in your application. A post reply from CGLIB developer
baliukas seems to confirm this:
org/objectweb/asm/Type
Remove your superfluous ASM libraries, as they can lead to some rather esoteric ClassCastException and NoClassDefFoundError exceptions that are not immediately obvious to the average Hibernate user.
Thanks,