0 Replies Latest reply on May 21, 2008 10:34 AM by Anatorian Su

    java.lang.NoClassDefFoundError: org.jgroups.MembershipListener when use treecache as the hibernate 2nd cache provider

    Anatorian Su Newbie
      I add following line to the persistence-dev.xml:
      
      <property name="hibernate.cache.provider_class" value="org.hibernate.cache.TreeCacheProvider"/>
      
      when start the jboss, I get this error :
      java.lang.RuntimeException: java.lang.NoClassDefFoundError: org/jgroups/MembershipListener
              at org.jboss.ejb3.ServiceDelegateWrapper.startService(ServiceDelegateWrapper.java:109)
              at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289)
      
      
      but the jgroups.jar and jboss-cache.jar is in the ear's lib directory. What's wrong?