Hello, please help me:
I am trying to execute an hibernate example, it allows persist products items, however, when I execute:
java test.InsertProduct Milk 100 1.99
I got the message:
Exception in thread "main" java.lang.NoClassDefFoundError: net/sf/cglib/KeyFactory
I'have got the cglib.jar file and added to classpath. The directory structure inside this JAR file, where KeyFactory.class is located is:
I even modified the above directory structure, so the KeyFactory file be located directly under net/sf/cglib, but the problem persists.