This blog contains the info about Java and J2ee and Ajax and Hibernate

Wednesday, July 15, 2009

java.lang.NoClassDefFoundError: org/objectweb/asm/Type+Solution

add asm.jar file

java.lang.NoClassDefFoundError: net/sf/cglib/proxy/CallbackFilter-Solution

3 solutions found.
Answer 1:
You need cglib.jar


Answer 2:
Download the jbpm-jpdl-3.2.2.zip file from URL http://labs.jboss.com/jbossjbpm/

you will find this cglib.jar in the folder path after you unzip the above downloaded file:
jbpm-jpdl-3.2.2\server\server\jbpm\lib


Answer 3:
If you have this error while using Hibernate, refer to this tuto :
http://java.developpez.com/faq/hibernate/?page=Generalites
It says to include the following libs in addition to the one delivered with Hibernate :
* Jakarta Commons Logging
* Jakarta Commons Collections
* Log4j
* dom4j
* Jta
* asm
* cglib.jar