-->
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.  [ 5 posts ] 
Author Message
 Post subject: Getting java.lang.NoClassDefFoundError: javax/transaction/Sy
PostPosted: Mon Mar 26, 2007 6:51 am 
Newbie

Joined: Mon Mar 26, 2007 3:33 am
Posts: 18
Getting error with tomcat5.0

java.lang.NoClassDefFoundError: javax/transaction/SystemException at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Class.java:140) at org.hibernate.id.IdentifierGeneratorFactory.class$(IdentifierGeneratorFactory.java:25) at org.hibernate.id.IdentifierGeneratorFactory.<clinit>(IdentifierGeneratorFactory.java:76) at org.hibernate.mapping.SimpleValue.createIdentifierGenerator(SimpleValue.java:111) at org.hibernate.impl.SessionFactoryImpl.<init>(SessionFactoryImpl.java:166) at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1043) at com.whaty.mcs.persistence.dao.hibernate.HibernateUtil.<clinit>(HibernateUtil.java:24)


Top
 Profile  
 
 Post subject:
PostPosted: Mon Mar 26, 2007 7:25 am 
Beginner
Beginner

Joined: Thu Aug 10, 2006 2:06 am
Posts: 26
i think you need to give the j2ee.jar in your classpath.


Top
 Profile  
 
 Post subject:
PostPosted: Fri Mar 30, 2007 2:58 am 
Newbie

Joined: Mon Mar 26, 2007 3:33 am
Posts: 18
Its already there


Top
 Profile  
 
 Post subject:
PostPosted: Fri Mar 30, 2007 4:35 am 
Expert
Expert

Joined: Tue Jan 30, 2007 12:45 am
Posts: 283
Location: India
Hi ranveer,

include jta.jar in your class path

_________________
Dharmendra Pandey


Top
 Profile  
 
 Post subject:
PostPosted: Thu Apr 12, 2007 2:12 am 
Newbie

Joined: Mon Mar 26, 2007 3:33 am
Posts: 18
Thnks a lot. Its working


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