-->
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.  [ 2 posts ] 
Author Message
 Post subject: Sample error
PostPosted: Tue Sep 07, 2004 7:28 pm 
Newbie

Joined: Tue Sep 07, 2004 7:12 pm
Posts: 7
Hibernate version: 2.1.6

Mapping documents:

Code between sessionFactory.openSession() and session.close():

Full stack trace of any exception that occurs:
"C:\Program Files\Java\j2re1.4.2_03\bin\javaw" -classpath "C:\Program Files\Hibernate216\hibernate-2.1\eg;C:\Program Files\Hibernate216\hibernate-2.1\hibernate2.jar;C:\Program Files\Java\j2re1.4.2_03\lib\im\indicim.jar;C:\Program Files\Java\j2re1.4.2_03\lib\im\thaiim.jar;C:\Program Files\Java\j2re1.4.2_03\lib\rt.jar;C:\Program Files\Java\j2re1.4.2_03\lib\sunrsasign.jar;C:\Program Files\Java\j2re1.4.2_03\lib\plugin.jar;C:\Program Files\Java\j2re1.4.2_03\lib\jsse.jar;C:\Program Files\Java\j2re1.4.2_03\lib\applet\WMPNS.jar;C:\Program Files\Java\j2re1.4.2_03\lib\jce.jar;C:\Program Files\Java\j2re1.4.2_03\lib\ext\dnsns.jar;C:\Program Files\Java\j2re1.4.2_03\lib\ext\ldapsec.jar;C:\Program Files\Java\j2re1.4.2_03\lib\ext\sunjce_provider.jar;C:\Program Files\Java\j2re1.4.2_03\javaws\javaws.jar" org.hibernate.auction.Main
java.lang.NoClassDefFoundError: org/dom4j/Attribute

at org.hibernate.auction.Main.main(Main.java:356)

Exception in thread "main"

Name and version of the database you are using:

Debug level Hibernate log excerpt:

Hi,
I'm tryng to run the "auction" example provided, using JBuilder X Foundation; I specified the hibernate jar path. When running, I get the above error.

I appreciate any help; thank you,
Guillermo

_________________
Guillermo


Top
 Profile  
 
 Post subject:
PostPosted: Wed Sep 08, 2004 2:33 am 
Regular
Regular

Joined: Thu Aug 05, 2004 2:27 am
Posts: 54
Location: South Africa
>java.lang.NoClassDefFoundError: org/dom4j/Attribute

fix that by adding dom4j to your classpath


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 2 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.