-->
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.  [ 4 posts ] 
Author Message
 Post subject: hbm2java NoClassDefFoundError
PostPosted: Thu May 20, 2004 11:02 pm 
Newbie

Joined: Thu May 20, 2004 10:48 pm
Posts: 2
I am a newer to Hibernate
when using the hbm2java tool I found problem as follows:

Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/commons/collections/MultiMap

who can tell me how to deal with this, thank you in advance!

BTW:
I use Hibernate 2.1.2 and Hibernate-extensions-2.1.2


Top
 Profile  
 
 Post subject:
PostPosted: Fri May 21, 2004 6:46 am 
Hibernate Team
Hibernate Team

Joined: Tue Sep 09, 2003 2:10 pm
Posts: 3246
Location: Passau, Germany
Add commons-collections.jar to your classpath.


Top
 Profile  
 
 Post subject:
PostPosted: Sat May 22, 2004 11:01 pm 
Newbie

Joined: Thu May 20, 2004 10:48 pm
Posts: 2
Sorry, this jar file has been added in setenv.bat and I can find the needed class in the jar file.

who can tell me why does this error occur?

thank you in advance.


Top
 Profile  
 
 Post subject:
PostPosted: Sun May 23, 2004 5:03 am 
Hibernate Team
Hibernate Team

Joined: Tue Aug 26, 2003 6:10 am
Posts: 8615
Location: Neuchatel, Switzerland (Danish)
because commons-collections.jar is not visible for hbm2java....

...check again ;)

_________________
Max
Don't forget to rate


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

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.