-->
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.  [ 3 posts ] 
Author Message
 Post subject: Newbie javax/transaction/Synchronization
PostPosted: Tue Oct 04, 2005 8:07 am 
Newbie

Joined: Tue Oct 04, 2005 7:53 am
Posts: 3
Hi Guys


This is the error I got when trying to run a little test app.

I used the Hibernate Tools to re-engineer the the structure from the db.

INFO: Default entity-mode: POJO
Exception in thread "main" java.lang.NoClassDefFoundError: javax/transaction/Synchronization
at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1127)
at test.main(test.java:26)


This is the line of code I use:

SessionFactory sessionFactory = new Configuration().configure().buildSessionFactory();


Thx


Top
 Profile  
 
 Post subject: Lib's missing
PostPosted: Tue Oct 04, 2005 8:18 am 
Newbie

Joined: Tue Oct 04, 2005 7:53 am
Posts: 3
Ok got the problem some of the lib's was missing.


Top
 Profile  
 
 Post subject:
PostPosted: Wed Dec 14, 2005 1:11 pm 
Newbie

Joined: Tue Oct 25, 2005 6:11 am
Posts: 5
Location: Hamburg, Germany
I had the same problem.
For any one else looking for javax.transaction.*
it ist within the jta.jar package.


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