-->
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.  [ 6 posts ] 
Author Message
 Post subject: building sessionfactory problem, plz help
PostPosted: Tue Apr 26, 2005 6:37 am 
Newbie

Joined: Tue Apr 26, 2005 6:18 am
Posts: 3
hi all

i've just started with hibernate, and now got stick into a problem: when i try to connect to hibernate via jbuilder, i get an error message that is:

INFO - building session factory
java.lang.NoClassDefFoundError: javax/transaction/SystemException
java.lang.ExceptionInInitializerError

Caused by: java.lang.NoClassDefFoundError: javax/transaction/SystemException

at java.lang.Class.forName0(Native Method)

at java.lang.Class.forName(Class.java:140)
wat can i do... can u please help me
thx in advance


Top
 Profile  
 
 Post subject:
PostPosted: Tue Apr 26, 2005 7:41 am 
Newbie

Joined: Mon Jan 17, 2005 11:34 am
Posts: 11
Location: Bratislava, Slovakia
Probably, you are missing jta.jar somewhere in your classpath or settings for jbuilder.


Top
 Profile  
 
 Post subject: buildinf sessionfactory failure
PostPosted: Tue Apr 26, 2005 10:15 am 
Newbie

Joined: Tue Apr 26, 2005 6:18 am
Posts: 3
thx 4 your answer .
then what is "jta.jar"where can i get it & where i have to place it?
sorry if u think that my question is not a kind of advanced one


Top
 Profile  
 
 Post subject:
PostPosted: Tue Apr 26, 2005 10:32 am 
Newbie

Joined: Tue Apr 05, 2005 8:01 am
Posts: 12
If you have downloaded the entire hibernate zip file, then upon extracting the jta.jar will be present in the 'lib' folder inside the extracted directory. It us used for transaction management.


Top
 Profile  
 
 Post subject: sessionfactory problem persists
PostPosted: Tue Apr 26, 2005 1:41 pm 
Newbie

Joined: Tue Apr 26, 2005 6:18 am
Posts: 3
thx alot
i found that and placed that in my lib, but didn't changed the situation,
i don't if u know anything about "road to hibernate", i'm actually trying to run this program but i'm not done yet :(((


Top
 Profile  
 
 Post subject:
PostPosted: Wed Apr 27, 2005 12:12 am 
Newbie

Joined: Tue Apr 05, 2005 8:01 am
Posts: 12
Its not enough to place it in the lib directory, It has to be there in the class path. It doesnt matter where the jar is, but its has to be there in the classpath. In JBuilder goto the project settings and include this jar.


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