1 Reply Latest reply on Dec 29, 2009 2:04 PM by lucasmonsterrocha

    classnotfoundexception seam app

    lucasmonsterrocha Newbie

      hello , i'm have that old commom problem classnotfoundexception, i put the hibernate.entitymanager everywhere and the problem still


      09:48:10,202 INFO  PersistenceUnitDeployment Starting persistence unit persistence.unit:unitNamehelloworld.ear/app.jarhelloworld
      09:48:10,219 ERROR AbstractKernelController Error installing to Start: namepersistence.unit:unitNamehelloworld.ear/app.jarhelloworld stateCreate
      java.lang.ClassNotFoundException:
            org.hibernate.ejb.HibernatePersistence


      ...


      DEPLOYMENTS MISSING DEPENDENCIES:
        Deployment jboss.j2ee:earhelloworld.ear,jarapp.jar,nameManagerAction,serviceEJB3 is missing the following dependencies:
          Dependency UNKNOWN jboss.j2ee:earhelloworld.ear,jarapp.jar,nameManagerAction,serviceEJB3 (should be in state Described, but is actually in state UNRESOLVED Demands 'persistence.unit:unitNamehelloworld.ear/app.jarhelloworld' )


      DEPLOYMENTS IN ERROR:
        Deployment persistence.unit:unitNamehelloworld.ear/app.jarhelloworld is in error due to the following reason(s): java.lang.ClassNotFoundException:
            org.hibernate.ejb.HibernatePersistence
           from BaseClassLoader@7525ad{VFSClassLoaderPolicy@fc894b{namevfszip:/C:/2010/jboss-5.0.1.GA/server/default/deploy/helloworld.ear/ domainClassLoaderDomain@9e5b31{namehelloworld:loaderhelloworld parentPolicyAFTERBUTJAVABEFORE parentClassLoaderDomain@2d189c{DefaultDomain}} rootsMemoryContextHandler@26860033path contextvfsmemory://5l284xo-m02nhe-g3sm4v16-1-g3sm6ktg-9m realvfsmemory://5l284xo-m02nhe-g3sm4v16-1-g3sm6ktg-9m, DelegatingHandler@28812700pathlib/hibernate-entitymanager.jar contextfile:/C:/2010/jboss-5.0.1.GA/server/default/tmp/5l284xo-m02nhe-g3sm4v16-1-g3sm6jzx-9l/helloworld.ear realfile:/C:/2010/jboss-5.0.1.GA/server/default/tmp/5l284xo-m02nhe-g3sm4v16-1-g3sm6jzx-9l/helloworld.ear/lib/hibernate-entitymanager.jar, DelegatingHandler@31041196pathlib/jboss-el.jar contextfile:/C:/2010/jboss-5.0.1.GA/server/default/tmp/5l284xo-m02nhe-g3sm4v16-1-g3sm6jzx-9l/helloworld.ear realfile:/C:/2010/jboss-5.0.1.GA/server/default/tmp/5l284xo-m02nhe-g3sm4v16-1-g3sm6jzx-9l/helloworld.ear/lib/jboss-el.jar, DelegatingHandler@5074254pathlib/jboss-seam.jar contextfile:/C:/2010/jboss-5.0.1.GA/server/default/tmp/5l284xo-m02nhe-g3sm4v16-1-g3sm6jzx-9l/helloworld.ear realfile:/C:/2010/jboss-5.0.1.GA/server/default/tmp/5l284xo-m02nhe-g3sm4v16-1-g3sm6jzx-9l/helloworld.ear/lib/jboss-seam.jar, DelegatingHandler@21185284path contextfile:/C:/2010/jboss-5.0.1.GA/server/default/tmp/5l284xo-m02nhe-g3sm4v16-1-g3sm6jzx-9l/helloworld.ear realvfszip:/C:/2010/jboss-5.0.1.GA/server/default/tmp/5l284xo-m02nhe-g3sm4v16-1-g3sm6jzx-9l/helloworld.ear, DelegatingHandler@15004845pathapp.jar contextfile:/C:/2010/jboss-5.0.1.GA/server/default/tmp/5l284xo-m02nhe-g3sm4v16-1-g3sm6jzx-9l/helloworld.ear realfile:/C:/2010/jboss-5.0.1.GA/server/default/tmp/5l284xo-m02nhe-g3sm4v16-1-g3sm6jzx-9l/helloworld.ear/app.jar, DelegatingHandler@24878804pathseam.deployer/lib-int/jboss-seam-int-jbossas.jar contextfile:/C:/2010/jboss-5.0.1.GA/server/default/deployers/ realfile:/C:/2010/jboss-5.0.1.GA/server/default/deployers/seam.deployer/lib-int/jboss-seam-int-jbossas.jar  delegatesnull exported, org.jboss.seam.mock, org.jboss.seam.theme, org.jboss.seam.security.crypto, org.jboss.seam.security.management, org.jboss.seam.contexts, org.jboss.seam.el, org.jboss.seam.exception, org.jboss.seam.mail, org.hibernate.ejb.event, org.jboss.seam.navigation, org.jboss.seam.international, org.hibernate.ejb.connection, org.jboss.seam.integration.jbossas.servlet, org.hibernate.ejb.instrument, org.jboss.seam.annotations.datamodel, org.jboss.seam.security.jaas, org.jboss.el.parser, org.jboss.seam.init, org.jboss.seam.webservice, org.hibernate.ejb.transaction, org.jboss.seam.annotations.bpm, org.jboss.seam.framework, org.jboss.seam.captcha, org.jboss.seam.log, org.jboss.seam.core, META-INF.maven.org.jboss.seam.integration.jboss-seam-int-jbossas, org.jboss.seam.cache, org.jboss.seam.jsf, org.jboss.seam.intercept, org.jboss.seam.integration.jbossas.vfs, org.jboss.seam.annotations.intercept, org.jboss.seam.servlet, org.jboss.seam.annotations, org.jboss.seam.drools, org.jboss.seam.ejb, org.jboss.seam.persistence, org.jboss.seam.pageflow, org.jboss.seam.annotations.async, org.jboss.seam.security.digest, org.jboss.seam.text, org.jboss.seam.faces, org.jboss.seam.deployment, org.jboss.seam.annotations.web, org.jboss.seam.annotations.faces, org.jboss.seam, org.jboss.seam.security.openid, org.jboss.seam.jmx, org.jboss.seam.jms, org.jboss.seam.security.permission, org.jboss.seam.annotations.exception, org.jboss.seam.async, org.hibernate.engine, org.jboss.seam.integration.jbossas.vdf, org.jboss.seam.annotations.security.management, org.jboss.seam.integration.jbossas.jms, org.jboss.seam.util, org.jboss.el.util, org.jboss.seam.bpm, org.jboss.seam.security, org.jboss.seam.web, org.jboss.el, org.jboss.seam.security.management.action, org.jboss.seam.databinding, META-INF, org.jboss.seam.security.permission.action, org.jboss.seam.annotations.security.permission, org.jboss.seam.annotations.security, org.jboss.el.lang, META-INF.services, org.hibernate.ejb.packaging, org.jboss.seam.transaction, org.hibernate.ejb.util, org.jboss.seam.document, org.hibernate.ejb IMPORT-ALLNONEMPTY}}
        Deployment UNKNOWN jboss.j2ee:earhelloworld.ear,jarapp.jar,nameManagerAction,serviceEJB3 is in error due to the following reason(s):  UNRESOLVED Demands 'persistence.unit:unitNamehelloworld.ear/app.jarhelloworld'