-->
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.  [ 6 posts ] 
Author Message
 Post subject: problems with criterion
PostPosted: Fri Feb 06, 2009 4:21 am 
Newbie

Joined: Fri Feb 06, 2009 4:16 am
Posts: 5
hi everybody.

I have a problem running a web app in eclipse, I have all jars in project path.
when I run I get this message.

java.lang.NoClassDefFoundError: org/hibernate/criterion/Criterion

if I run same project in myeclipse I don't have this problem.
I believe it's caused by a nedeed library, but I have all jars.
any suggestion?
thanks.


Top
 Profile  
 
 Post subject:
PostPosted: Fri Feb 06, 2009 5:15 am 
Expert
Expert

Joined: Fri Jan 30, 2009 1:47 am
Posts: 292
Location: Bangalore, India
Are you sure that hibernate.jar file is in the build path?

- Litty

_________________
Regards,
Litty Preeth


Top
 Profile  
 
 Post subject:
PostPosted: Fri Feb 06, 2009 6:10 am 
Newbie

Joined: Fri Feb 06, 2009 4:16 am
Posts: 5
yes , I have all jars.

hibernate3.jar
hibernate-anotations.jar
hibernate-core.jar
hibernate-entitymanager.jar
.......


Top
 Profile  
 
 Post subject:
PostPosted: Thu Feb 12, 2009 5:29 am 
Newbie

Joined: Fri Feb 06, 2009 4:16 am
Posts: 5
any suggestion please?


Top
 Profile  
 
 Post subject:
PostPosted: Thu Feb 12, 2009 5:44 am 
Expert
Expert

Joined: Fri Jan 30, 2009 1:47 am
Posts: 292
Location: Bangalore, India
I dont understand how come you can get this error if hibernate3.jar is in your build path. Are you running the application inside your IDE? I think you are running a web application. So did u copy all the hibernate jars into WEB-INF\lib directory? Tell us more about your environment. Also the complete stack trace.

_________________
Regards,
Litty Preeth


Top
 Profile  
 
 Post subject:
PostPosted: Fri Feb 13, 2009 2:19 am 
Newbie

Joined: Fri Feb 06, 2009 4:16 am
Posts: 5
thanks for all, I solved it.

the problem, hibernate3.jar was corrupted I downloaded it again and now works fine.

thanks.


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