-->
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: Does 2.1.3 require J2ee?
PostPosted: Sun Feb 15, 2004 6:51 am 
Newbie

Joined: Fri Oct 24, 2003 2:59 pm
Posts: 6
Location: Swalmen, The Netherlands
I'm trying to switch from Hibernate 2.0.3 to 2.1.3 but I keep getting into trouble. I've resolved them so far (had to switch a lot of libraries, try to include jar files from the lib directory).

Now when I start my program I get the following exception

java.lang.NoClassDefFoundError: javax/transaction/Synchronization

This is a j2ee class and not a j2se 1.5 class.

Is Hibernate 2.1.3 only to be used in j2ee environments? If it is, are there then non-Hibernate alternatives that can still be used in j2se? I don't want to switch to j2ee, too big for my needs.

Maurice.


Top
 Profile  
 
 Post subject:
PostPosted: Sun Feb 15, 2004 7:13 am 
Hibernate Team
Hibernate Team

Joined: Tue Sep 09, 2003 2:10 pm
Posts: 3246
Location: Passau, Germany
You are missing jta.jar in your classpath. Take a look at the readme in the lib directory for a list of required jars.


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.