-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 
Author Message
 Post subject: Export a JAVA / HIbernate Project & CodeVisitor Exceptio
PostPosted: Mon Jan 16, 2006 11:35 am 
Newbie

Joined: Mon Jan 16, 2006 11:04 am
Posts: 2
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


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.