Hi all,
I am trying to work my way through the hibernate tutorial here:
http://www.gloegl.de/5.html but I am encountering problems with: "ERROR - CGLIB Enhancement failed: com.hsbc.persistence.Event
java.lang.NoClassDefFoundError: org/objectweb/asm/Type"
I've googled around and have seen two theories:
1. Conflicts of multiple copies of Cglib on the classpath
2. If you use lazy loading with proxies (default for all classes in Hibernate 3), Hibernate needs to subclass your class at runtime. It can't do this if you have a private no-argument constructor. As per documentation, at least package visibility is required. (from the faq)
....but neither of these seem to apply and I'm running out of ideas.
Could somebody take a look and help out please? Thanks very much,
Mark
Console output.....
[ September 01, 2006: Message edited by: Jim Yingst ]