|
When using Terracotta Bigmemory EhCache a NoClassDefFoundError occurs.
Caused by: java.lang.NoClassDefFoundError: net/sf/ehcache/config/TerracottaConfiguration$ValueMode
at org.hibernate.cache.ehcache.internal.util.HibernateUtil.loadAndCorrectConfiguration(HibernateUtil.java:71)
It comes down to the simple fact that ValueMode no longer exists in the TerracottaConfiguration class. However org.hibernate.cache.ehcache.internal.util.HibernateUtil still makes use of this ValueMode causing it to throw the exception.
I have posted work around for this issue on the Terracotta forum which can be found here http://forums.terracotta.org/forums/posts/list/8783.page
|