3 Replies Latest reply on Apr 4, 2011 3:15 AM by jaikiran

    NoClassDefFoundError: org/jboss/ejb3/interceptors/annotation/impl/PreDestroyImpl

    rajivtmathew

      JBoss 6.0.0 AS Final

      Default deployment profile

       

      Apart from the JBoss 6, I've also upgraded hibernate search libraries, so they arent the ones that come with the JBoss 6 download.

      I get a NoClassDefFoundException for this class PreDestroyImpl.

       

      A cursory examination of the jboss/common/lib folder reveals that this class is defined in 2 jars, namely:

       

      jboss-ejb3-ext-api-impl.jar (org.jboss.ejb3.annotation.impl)

      AND

      jboss-ejb3-interceptors (org.jboss.ejb3.interceptors.annotation.impl)

       

      I'm wondering if this is due to a conflict between these 2 classes, or whether it has something to do with my classpath.

      My deployment structure looks like:

       

      jboss/server/default/deploy/[DEPLOYMENT.ear]

       

       

      I've attached the relevant portion of the deployment server log file. Any help would be much appreciated.