-->
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: caveatemptor and hibernate3
PostPosted: Wed Jan 26, 2005 5:52 am 
Newbie

Joined: Tue Jan 25, 2005 1:00 pm
Posts: 5
Location: france
hello world,

I'm trying to adapt a piece of code that comes from caveatemptor
(HibernateUtil.java).

Everything seems to be fine (to me) except when creating the initial SessionFactory from the configuration files :

it says :
[junit] 10:13:29,140 INFO SettingsFactory: Cache provider: org.hibernate.cache.EhCacheProvider
[junit] 10:13:29,187 ERROR HibernateUtil: Building SessionFactory failed.
[junit] java.lang.NoClassDefFoundError: net/sf/ehcache/CacheException

hugh?

thx,


Top
 Profile  
 
 Post subject:
PostPosted: Wed Jan 26, 2005 5:55 am 
Hibernate Team
Hibernate Team

Joined: Mon Aug 25, 2003 9:11 pm
Posts: 4592
Location: Switzerland
What could it possibly be if Java tells you that it can't find a class?


Top
 Profile  
 
 Post subject:
PostPosted: Wed Jan 26, 2005 6:02 am 
Newbie

Joined: Tue Jan 25, 2005 1:00 pm
Posts: 5
Location: france
sorry, no excuse.
i've just discoverd ehcache-1.1.jar ...


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.