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: cannot find ehcacheprovider??
PostPosted: Wed Jun 21, 2006 2:18 pm 
Beginner
Beginner

Joined: Mon Jun 19, 2006 4:10 pm
Posts: 27
This is wierd. the hibernate jar is on the classpath and the org.hibernate.cache.EHCacheProvider class is in there.

I still get a ClassNotFoundException when trying to fire off a test.

in my spring configuration I have

Code:
<prop key="hibernate.cache.provider_class">org.hibernate.cache.EHCacheProvider</prop>


and i have an ehcache.xml file.

anyone seen this?


Top
 Profile  
 
 Post subject:
PostPosted: Thu Jun 22, 2006 12:03 am 
Expert
Expert

Joined: Thu Dec 23, 2004 9:08 pm
Posts: 2008
Have a closer look at the jar. You'll see that the class is called EhCacheProvider. H is lower case.

_________________
Code tags are your friend. Know them and use them.


Top
 Profile  
 
 Post subject:
PostPosted: Thu Jun 22, 2006 10:28 am 
Beginner
Beginner

Joined: Mon Jun 19, 2006 4:10 pm
Posts: 27
YEP. Discovered it after pulling my hair out for an hour and a half....

Thanx


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.