You can resolve your problem below problem ------------------------------------------ Exception in thread "main" java.lang.NoClassDefFoundError: net.sf.cglib.core.DebuggingClassWriter$1 ------------------------------------------
by doing this:
You have add cglib-2.1.3.jar file into your class file.
OR
If you are working with eclipse 3.0 or 3.1 then this jar file should be added to user library.
OR
go to PROJECT - > PROPERTIES -> JAVA BUILD PATH -> LIBRARIES -> Add External Jars -> define the path for this jar file.