-->
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: Simple tutorial needed to use Hibernate with a servlet
PostPosted: Thu Sep 06, 2007 4:13 am 
Newbie

Joined: Wed Sep 05, 2007 9:26 am
Posts: 16
Hi,

I follow the online tutorial, http://www.hibernate.org/hib_docs/v3/re ... rial-intro, and was able to have the console app running, when a servlet is added, i got error:Initial SessionFactory creation failed.java.lang.NoClassDefFoundError: org/hibernate/cfg/Configuration.

Is there a simple tutorial that is just servlet/hibernet? thanks. A.C.


Top
 Profile  
 
 Post subject:
PostPosted: Fri Sep 07, 2007 3:18 am 
Beginner
Beginner

Joined: Thu Jun 17, 2004 11:25 pm
Posts: 21
Location: Los Angeles
That same tutorial, part 3, uses a servlet. Are you saying that you tried to follow the tutorial but got that error? If so, it looks like the problem is that you left a library out of your WAR file.


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.