2 Replies Latest reply on Aug 9, 2017 7:08 AM by lafr

    UnknownServiceException: Unknown service requested ?

    mantunes2009

      Hi,

       

      I'm using JBoss 6.4.0 EAP in Java 8 Maven Project. So, when I try to deploy the war file, the following exceptions are listed:

      {"JBAS014653: A operação de composição falhou e foi revertida. Segue abaixo as etapas que falharam:" => {"Operação step-2" => {"JBAS014671: Falha de serviços" => {"jboss.persistenceunit.\"ajg2-0.0.1-SNAPSHOT.war#ajg2\"" => "org.jboss.msc.service.StartException in service jboss.persistenceunit.\"ajg2-0.0.1-SNAPSHOT.war#ajg2\": javax.persistence.PersistenceException: [PersistenceUnit: ajg2] Unable to build EntityManagerFactory

          Caused by: javax.persistence.PersistenceException: [PersistenceUnit: ajg2] Unable to build EntityManagerFactory

          Caused by: org.hibernate.service.UnknownServiceException: Unknown service requested [org.hibernate.boot.registry.classloading.spi.ClassLoaderService]"}}}}

       

      My pom.xml:

       

      My persistence unit:

       

      What could be wrong?