-->
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: problem with getHibernateTemplate()
PostPosted: Wed Sep 14, 2005 1:26 am 
Newbie

Joined: Fri Mar 26, 2004 7:23 am
Posts: 19
Hi all,
I am having a problem while i am trying to delete a record with the help of getHibernateTemplate(). It is giving an error as "[u]The type net.sf.hibernate.LockMode cannot be resolved. It is indirectly referenced from required class files [/u]". It's the same problem with update and load methods too..... where as save and list methods are working fine in the same file...

I am using spring , hibernate2 and also jsf.

Any idea why there is an error ???

thanx in advacne

A


Top
 Profile  
 
 Post subject:
PostPosted: Wed Sep 14, 2005 1:59 am 
Expert
Expert

Joined: Mon Jul 04, 2005 5:19 pm
Posts: 720
Post a directory listing of WEB-INF/lib .


Top
 Profile  
 
 Post subject: Re: problem with getHibernateTemplate()
PostPosted: Wed Sep 14, 2005 2:22 am 
Pro
Pro

Joined: Fri Sep 02, 2005 4:21 am
Posts: 206
Location: Vienna
Agatha wrote:
Any idea why there is an error ???

Basically some jar files are missing on the classpath of your application.

Additional question: are you using Hibernate 2.1 or 3.0? If you use 3.0 be careful to use the org.springframework.orm.hibernate3 versions of the classes in Spring...

Erik


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.