Uploaded image for project: 'Hibernate ORM'
  1. HHH-8732

NoClassDefFoundError: net/sf/ehcache/config/TerracottaConfiguration$ValueMode

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 4.2.7
    • Fix Version/s: 6.0.0-legacy (disregard)
    • Component/s: None
    • Labels:
      None
    • Environment:
      Tomcat 6.0.35
      IBM ISeries V6R1
      Hibernate 4.2.7.Final
      Hibernate-EhCache-4.2.7.Final
      EhCache EE 2.7.5
      Bigmemory 4.0.5
      Terracotta Toolkit Runtime EE 4.0.5

      Description

      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

        Attachments

          Issue links

            Activity

              People

              • Votes:
                2 Vote for this issue
                Watchers:
                7 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: