File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes EhCache and the fly likes Ehcache exception Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Caching » EhCache
Bookmark "Ehcache exception " Watch "Ehcache exception " New topic
Author

Ehcache exception

Mansi Mishra
Ranch Hand

Joined: Dec 26, 2008
Posts: 50
I get the following exception on running my application.


I believe some versions of ehcache jars are not compatible with hibernate-3.2 jar.
I have tried all permutations and combination by changing the versions of both the jars, still it doesn't seem to work.
Any idea???


http://splashpress.blogspot.com
Emanuel Kadziela
Ranch Hand

Joined: Mar 24, 2005
Posts: 186
Looks like either a classloader or a jar version issue.

I am running hibernate-3.2.6-ga.jar and it does indeed reference net.sf.ehcache.CacheManager from the org.hibernate.cache.EhCacheProvider class. My version of ehcache is ehcache-1.4.1.jar, and they seem to be happily getting along.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Ehcache exception
 
Similar Threads
Jboss error
IllegalAccessException when creating object instance in jsp
java.lang.IllegalAccessError
Problem with ehcache
JBoss 3.0