Hello *,
I´m using Hibernate Core Persistence and it works fine, but only in my IDE which is Eclipse.
When I´m starting my Application inside Eclipse (run as....) it works fine, so today I tried to export my project to a Folder as jar File.
I know that there are some problems with third party libraries, when you export an project fiom eclipse, so I changed to the plugin "Fat jar" and my libraries were exported, ok.
But, what I not understand, when I now try to start my application (for excample inside an console window (cmd) with java - jar ..... an exception occured, which said
"NoClassDefFoundError : org/objectweb/asm/CodeVisitor"
I had same problem when I set up my project inside Eclipse, I solved it with taking the cglib-nodep.jar in my build path in Eclipse and it works.
But now, where is the different to the jar placed in a folder outside ?
I mean, I exported all the required libraries and I checked it with looking in the jars, but it seems there was taken another Version of cglib, but that cant be possible, or?
Thank you for any advice !!!
Hibernate version:
hibernate3.jar
Name and version of the database you are using:
HSQLDB
Kindly regards
Chris
|