readthefuckingmanual.net

[SOLVED] java.lang.NoClassDefFoundError: net/sf/cglib/proxy/CallbackFilter

Error added: 2008-02-13T09:15:30Z

1 people waiting for the answer...

9 answers found.

Answer 1463 (100.0% helpful)

Add maven dep:

         <dependency>
	        <groupId>cglib</groupId>
	        <artifactId>cglib-nodep</artifactId>
	        <version>2.2</version>
	    </dependency>
Permalink

Answer 1860 (100.0% helpful)

i have also got the same problem ......
i try many methods but at the end i replace my cglib 2.2 jar with another version of cglib called  cglib-2.1.3.jar. 
Permalink

Answer 500 (76.190475% helpful)

You need cglib.jar
Permalink

Answer 817 (50.0% helpful)

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
    * <b>cglib.jar</b>
Permalink

Answer 1270 (50.0% helpful)

This file is in the spring distribution library inside the lib folder. Search for the file (find . -name \"cglib*jar\" ) and add the file to your class path (WEB-INF\\lib)
Permalink

Answer 1409 (50.0% helpful)

Yeah! this is the one cglib.jar
Permalink

Answer 1561 (0.0% helpful)

Yes, I had the same problem - and solved it!
You must add cglib.jar to your buildpath | classpath, whatever !!
Permalink

Answer 549 (0.0% helpful)

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
Permalink

Answer 1918 (0.0% helpful)

i have also got the same problem ...... 
i try many methods but at the end i replace my cglib.jar with another version of cglib called cglib-2.1.3.jar.
Permalink

Add an answer/solution

If you know the answer, please add your own solution below.
If you don't know, but find out later, please come back and share your answer - there will be other people struggling with this too.


Please enter 61948 here

If you want to be notified via email when this is solved, enter your email address here: