This week's book giveaway is in the Performance forum.
We're giving away four copies of The Java Performance Companion and have Charlie Hunt, Monica Beckwith, Poonam Parhar, & Bengt Rutisson on-line!
See this thread for details.
Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Ehcache exception

 
Mansi Mishra
Ranch Hand
Posts: 51
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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???
 
Emanuel Kadziela
Ranch Hand
Posts: 187
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic