-->
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: java.lang.NoClassDefFoundError in RAD
PostPosted: Mon Aug 14, 2006 9:01 pm 
Newbie

Joined: Mon Aug 14, 2006 8:51 pm
Posts: 2
Need help with Hibernate? Read this first:
http://www.hibernate.org/ForumMailingli ... AskForHelp

Hibernate version:3.1.3

Full stack trace of any exception that occurs:

Name and version of the database you are using:DB2 v 9

I have developed an EJB project which uses Hibernate to access DB2. I have tested the session bean, it works well with Hibernate. Then I created a struts Web project to invoke that session bean to use hibernate in struts' action. However, I always got the error message: java.lang.NoClassDefFoundError: org/hibernate/HibernateException
I have read the article "Hibernate in WSAD 5.x" in the official site, and followed the instructions to copy all the needed jar files into Java Build Path. The only difference is that I'm currently using JDBC to connect to DB2 instead of datasource.
Any idea? It kind of drives me nuts!


Top
 Profile  
 
 Post subject:
PostPosted: Mon Aug 14, 2006 9:04 pm 
Newbie

Joined: Mon Aug 14, 2006 8:51 pm
Posts: 2
Sorry, I forgot to say, the IDE is Rational Application Developer 6.0, while the server is WebSphere Application Server 6.0. Thanks in advance!


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.