1 Reply Latest reply on Aug 10, 2007 7:09 AM by jaikiran

    Error with EJB3 application deployment

      Hi All

      I have been trying to deploy one of my application that works perfect on JBOSS 4.0.5 while on JBOSS 4.2.0 GA version it is not deployed with the ROOT CAUSE being as shown below...

      What I was keen to understand is what the error " Reason: java.lang.NoClassDefFoundError: org.hibernate.cfg.EJB3DTDEntityResolver" signifies.



      2007-08-10 01:09:37,667 ERROR [org.jboss.deployment.scanner.URLDeploymentScanner] Incomplete Deployment listing:

      --- Incompletely deployed packages ---
      org.jboss.deployment.DeploymentInfo@75ca39c6 { url=file:/data/jboss-4.2.0.GA/server/default/deploy/mail-service.xml }
      deployer: org.jboss.deployment.SARDeployer@72897289
      status: null
      state: FAILED
      watch: file:/data/jboss-4.2.0.GA/server/default/deploy/mail-service.xml
      altDD: null
      lastDeployed: 1186688239196
      lastModified: 1186688239000
      mbeans:

      org.jboss.deployment.DeploymentInfo@229581fd { url=file:/data/jboss-4.2.0.GA/server/default/deploy/compliancetracker.ear }
      deployer: org.jboss.deployment.EARDeployer@bef0bef
      status: null
      state: FAILED
      watch: file:/data/jboss-4.2.0.GA/server/default/deploy/compliancetracker.ear
      altDD: null
      lastDeployed: 1186688243682
      lastModified: 1186688243000
      mbeans:

      --- MBeans waiting for other MBeans ---
      ObjectName: jboss.j2ee:service=EJB3,module=compliancetrackerEjb.jar
      State: FAILED
      Reason: java.lang.NoClassDefFoundError: org.hibernate.cfg.EJB3DTDEntityResolver

      --- MBEANS THAT ARE THE ROOT CAUSE OF THE PROBLEM ---
      ObjectName: jboss.j2ee:service=EJB3,module=compliancetrackerEjb.jar
      State: FAILED
      Reason: java.lang.NoClassDefFoundError: org.hibernate.cfg.EJB3DTDEntityResolver