1 Reply Latest reply on Aug 4, 2015 2:00 PM by Scott Marlow

    java.lang.NoSuchMethodError: org.hibernate.cfg.AnnotationConfiguration.getPersisterClassProvider() when migrating from Jboss 5.1 to WildFly 8.2

    Sreenath Reddy Novice

      17:54:32,394 INFO  [org.jboss.modules] (main) JBoss Modules version 1.3.3.Final

      17:54:33,043 INFO  [org.jboss.msc] (main) JBoss MSC version 1.2.2.Final

      17:54:33,551 INFO  [org.jboss.as] (MSC service thread 1-4) JBAS015899: WildFly 8.2.0.Final "Tweek" starting

      17:54:39,197 INFO  [org.jboss.as.server.deployment.scanner] (DeploymentScanner-threads - 1) JBAS015014: Re-attempting failed deployment project-ear.ear

      17:54:40,354 INFO  [org.jboss.as.server.deployment.scanner] (DeploymentScanner-threads - 1) JBAS015003: Found project-ear.ear in deployment directory. To trigger deployment create a file called project-ear.ear.dodeploy

      17:54:40,391 INFO  [org.jboss.as.server] (Controller Boot Thread) JBAS015888: Creating http management service using socket-binding (management-http)

      17:54:40,453 INFO  [org.xnio] (MSC service thread 1-1) XNIO version 3.3.0.Final

      17:54:40,515 INFO  [org.jboss.as.webservices] (ServerService Thread Pool -- 47) JBAS015537: Activating WebServices Extension

      17:54:40,527 INFO  [org.jboss.as.naming] (ServerService Thread Pool -- 39) JBAS011800: Activating Naming Subsystem

      17:54:40,559 INFO  [org.wildfly.extension.io] (ServerService Thread Pool -- 30) WFLYIO001: Worker 'default' has auto-configured to 4 core threads with 32 task threads based on your 2 available processors

      17:54:40,516 WARN  [org.jboss.as.txn] (ServerService Thread Pool -- 45) JBAS010153: Node identifier property is set to the default value. Please make sure it is unique.

      17:54:40,592 INFO  [org.xnio.nio] (MSC service thread 1-1) XNIO NIO Implementation Version 3.3.0.Final

      17:54:40,578 INFO  [org.jboss.as.security] (ServerService Thread Pool -- 44) JBAS013171: Activating Security Subsystem

      17:54:40,693 INFO  [org.jboss.as.clustering.infinispan] (ServerService Thread Pool -- 31) JBAS010280: Activating Infinispan subsystem.

      17:54:40,804 INFO  [org.wildfly.extension.undertow] (ServerService Thread Pool -- 46) JBAS017502: Undertow 1.1.0.Final starting

      17:54:40,784 INFO  [org.jboss.as.jsf] (ServerService Thread Pool -- 37) JBAS012615: Activated the following JSF Implementations: [main]

      17:54:40,886 INFO  [org.jboss.remoting] (MSC service thread 1-1) JBoss Remoting version 4.0.6.Final

      17:54:41,066 INFO  [org.wildfly.extension.undertow] (MSC service thread 1-1) JBAS017502: Undertow 1.1.0.Final starting

      17:54:41,112 INFO  [org.jboss.as.security] (MSC service thread 1-1) JBAS013170: Current PicketBox version=4.0.21.Final

      17:54:41,162 INFO  [org.jboss.as.connector.subsystems.datasources] (ServerService Thread Pool -- 26) JBAS010403: Deploying JDBC-compliant driver class org.h2.Driver (version 1.3)

      17:54:42,288 INFO  [org.jboss.as.naming] (MSC service thread 1-1) JBAS011802: Starting Naming Service

      17:54:42,330 INFO  [org.jboss.as.mail.extension] (MSC service thread 1-1) JBAS015400: Bound mail session [java:jboss/mail/Default]

      17:54:43,072 INFO  [org.jboss.as.connector.logging] (MSC service thread 1-1) JBAS010408: Starting JCA Subsystem (IronJacamar 1.1.9.Final)

      17:54:43,451 INFO  [org.wildfly.extension.undertow] (ServerService Thread Pool -- 46) JBAS017527: Creating file handler for path D:\Migration_Workspace\Jboss\Jboss-8\wildfly-8.2.0.Final/welcome-content

      17:54:44,002 INFO  [org.jboss.as.connector.deployers.jdbc] (MSC service thread 1-3) JBAS010417: Started Driver service with driver-name = h2

      17:54:44,032 INFO  [org.wildfly.extension.undertow] (MSC service thread 1-3) JBAS017525: Started server default-server.

      17:54:44,036 INFO  [org.wildfly.extension.undertow] (MSC service thread 1-3) JBAS017531: Host default-host starting

      17:54:44,172 INFO  [org.jboss.as.server.deployment.scanner] (MSC service thread 1-1) JBAS015012: Started FileSystemDeploymentService for directory D:\Migration_Workspace\Jboss\Jboss-8\wildfly-8.2.0.Final\standalone\deployments

      17:54:44,185 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-1) JBAS015876: Starting deployment of "project-ear.ear" (runtime-name: "project-ear.ear")

      17:54:44,188 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-1) JBAS015876: Starting deployment of "ojdbc6.jar" (runtime-name: "ojdbc6.jar")

      17:54:44,358 WARN  [org.jboss.metadata.parser.jboss.JBossAppMetaDataParser] (MSC service thread 1-1) loader-repository element in jboss-app.xml is deprecated and has been ignored

      17:54:49,178 WARN  [org.jboss.as.server.deployment] (MSC service thread 1-1) JBAS015960: Class Path entry iText-toolbox.jar in /D:/Migration_Workspace/Jboss/Jboss-8/wildfly-8.2.0.Final/standalone/deployments/project-ear.ear/lib/itext.jar  does not point to a valid jar for a Class-Path reference.

      17:54:49,178 WARN  [org.jboss.as.server.deployment] (MSC service thread 1-1) JBAS015960: Class Path entry iText-toolbox-2.1.2.jar in /D:/Migration_Workspace/Jboss/Jboss-8/wildfly-8.2.0.Final/standalone/deployments/project-ear.ear/lib/itext.jar  does not point to a valid jar for a Class-Path reference.

      17:54:49,178 WARN  [org.jboss.as.server.deployment] (MSC service thread 1-1) JBAS015960: Class Path entry bcmail-jdk14-138.jar in /D:/Migration_Workspace/Jboss/Jboss-8/wildfly-8.2.0.Final/standalone/deployments/project-ear.ear/lib/itext.jar  does not point to a valid jar for a Class-Path reference.

      17:54:49,179 WARN  [org.jboss.as.server.deployment] (MSC service thread 1-1) JBAS015960: Class Path entry bcprov-jdk14-138.jar in /D:/Migration_Workspace/Jboss/Jboss-8/wildfly-8.2.0.Final/standalone/deployments/project-ear.ear/lib/itext.jar  does not point to a valid jar for a Class-Path reference.

      17:54:49,216 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-1) JBAS015973: Starting subdeployment (runtime-name: "project-gen.jar")

      17:54:49,221 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-1) JBAS015973: Starting subdeployment (runtime-name: "project-ejb.jar")

      17:54:49,222 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-1) JBAS015973: Starting subdeployment (runtime-name: "project.war")

      17:54:49,222 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-1) JBAS015973: Starting subdeployment (runtime-name: "jboss-seam.jar")

      17:54:49,330 WARN  [org.jboss.as.server.deployment] (MSC service thread 1-1) JBAS015960: Class Path entry jboss-seam-pdf.jar in /D:/Migration_Workspace/Jboss/Jboss-8/wildfly-8.2.0.Final/standalone/deployments/project-ear.ear/project.war  does not point to a valid jar for a Class-Path reference.

      17:54:49,515 INFO  [org.jboss.as.jpa] (MSC service thread 1-1) JBAS011401: Read persistence.xml for project

      17:54:50,476 WARN  [org.jboss.as.dependency.private] (MSC service thread 1-1) JBAS018567: Deployment "deployment.project-ear.ear" is using a private module ("com.sun.jsf-impl:main") which may be changed or removed in future versions without notice.

      17:54:50,476 WARN  [org.jboss.as.dependency.private] (MSC service thread 1-1) JBAS018567: Deployment "deployment.project-ear.ear" is using a private module ("com.sun.jsf-impl:main") which may be changed or removed in future versions without notice.

      17:54:50,477 WARN  [org.jboss.as.dependency.private] (MSC service thread 1-1) JBAS018567: Deployment "deployment.project-ear.ear" is using a private module ("org.javassist:main") which may be changed or removed in future versions without notice.

      17:54:50,477 WARN  [org.jboss.as.dependency.private] (MSC service thread 1-1) JBAS018567: Deployment "deployment.project-ear.ear" is using a private module ("org.javassist:main") which may be changed or removed in future versions without notice.

      17:54:50,481 WARN  [org.jboss.as.dependency.private] (MSC service thread 1-1) JBAS018567: Deployment "deployment.project-ear.ear" is using a private module ("org.apache.commons.collections:main") which may be changed or removed in future versions without notice.

      17:54:50,481 WARN  [org.jboss.as.dependency.private] (MSC service thread 1-1) JBAS018567: Deployment "deployment.project-ear.ear" is using a private module ("org.apache.commons.collections:main") which may be changed or removed in future versions without notice.

      17:54:52,094 INFO  [org.jboss.as.ejb3.deployment.processors.EjbJndiBindingsDeploymentUnitProcessor] (MSC service thread 1-1) JNDI bindings for session bean named EjbSynchronizations in deployment unit subdeployment "jboss-seam.jar" of deployment "project-ear.ear" are as follows:

       

       

        java:global/project-ear/jboss-seam/EjbSynchronizations!org.jboss.seam.transaction.LocalEjbSynchronizations

        java:app/jboss-seam/EjbSynchronizations!org.jboss.seam.transaction.LocalEjbSynchronizations

        java:module/EjbSynchronizations!org.jboss.seam.transaction.LocalEjbSynchronizations

        java:global/project-ear/jboss-seam/EjbSynchronizations

        java:app/jboss-seam/EjbSynchronizations

        java:module/EjbSynchronizations

       

       

      17:54:52,125 INFO  [org.jboss.as.ejb3.deployment.processors.EjbJndiBindingsDeploymentUnitProcessor] (MSC service thread 1-1) JNDI bindings for session bean named TimerServiceDispatcher in deployment unit subdeployment "jboss-seam.jar" of deployment "project-ear.ear" are as follows:

       

       

        java:global/project-ear/jboss-seam/TimerServiceDispatcher!org.jboss.seam.async.LocalTimerServiceDispatcher

        java:app/jboss-seam/TimerServiceDispatcher!org.jboss.seam.async.LocalTimerServiceDispatcher

        java:module/TimerServiceDispatcher!org.jboss.seam.async.LocalTimerServiceDispatcher

        java:global/project-ear/jboss-seam/TimerServiceDispatcher

        java:app/jboss-seam/TimerServiceDispatcher

        java:module/TimerServiceDispatcher

       

       

      17:54:53,240 INFO  [org.wildfly.extension.undertow] (MSC service thread 1-4) JBAS017519: Undertow HTTP listener default listening on localhost/127.0.0.1:8280

      17:54:53,345 INFO  [org.jboss.as.connector.subsystems.datasources] (MSC service thread 1-2) JBAS010400: Bound data source [java:jboss/datasources/ExampleDS]

      17:54:53,711 INFO  [org.jboss.ws.common.management] (MSC service thread 1-3) JBWS022052: Starting JBoss Web Services - Stack CXF Server 4.3.2.Final

      17:54:53,828 INFO  [org.jboss.as.connector.deployers.jdbc] (MSC service thread 1-2) JBAS010403: Deploying JDBC-compliant driver class oracle.jdbc.OracleDriver (version 11.2)

      17:54:53,842 INFO  [org.jboss.as.connector.deployers.jdbc] (MSC service thread 1-3) JBAS010417: Started Driver service with driver-name = ojdbc6.jar

      17:54:53,870 INFO  [org.jboss.as.connector.subsystems.datasources] (MSC service thread 1-4) JBAS010400: Bound data source [java:/projectDatasource]

      17:54:53,884 INFO  [org.jboss.as.jpa] (ServerService Thread Pool -- 48) JBAS011402: Starting Persistence Unit Service 'project-ear.ear/project-ejb.jar#project'

      17:54:53,928 INFO  [org.hibernate.cfg.annotations.Version] (ServerService Thread Pool -- 48) Hibernate Annotations 3.5.6-Final

      17:54:53,942 INFO  [org.hibernate.cfg.Environment] (ServerService Thread Pool -- 48) Hibernate 3.5.6-Final

      17:54:53,946 INFO  [org.hibernate.cfg.Environment] (ServerService Thread Pool -- 48) hibernate.properties not found

      17:54:53,949 INFO  [org.hibernate.cfg.Environment] (ServerService Thread Pool -- 48) Bytecode provider name : javassist

      17:54:53,967 INFO  [org.hibernate.cfg.Environment] (ServerService Thread Pool -- 48) using JDK 1.4 java.sql.Timestamp handling

      17:54:54,042 INFO  [org.hibernate.annotations.common.Version] (ServerService Thread Pool -- 48) HCANN000001: Hibernate Commons Annotations {4.0.1.Final}

      17:54:54,052 INFO  [org.hibernate.ejb.Version] (ServerService Thread Pool -- 48) Hibernate EntityManager 3.6.3.Final

      17:54:54,063 INFO  [org.hibernate.ejb.Ejb3Configuration] (ServerService Thread Pool -- 48) Processing PersistenceUnitInfo [

        name: project

        ...]

      17:55:01,345 INFO  [org.hibernate.cfg.AnnotationConfiguration] (ServerService Thread Pool -- 48) Mapping package com.project.integration.intuit

      17:55:01,349 WARN  [org.hibernate.cfg.AnnotationBinder] (ServerService Thread Pool -- 48) Package not found or wo package-info.java: com.project.integration.intuit

      17:55:02,598 ERROR [org.jboss.msc.service.fail] (ServerService Thread Pool -- 48) MSC000001: Failed to start service jboss.persistenceunit."project-ear.ear/project-ejb.jar#project": org.jboss.msc.service.StartException in service jboss.persistenceunit."project-ear.ear/project-ejb.jar#project": java.lang.NoSuchMethodError: org.hibernate.cfg.AnnotationConfiguration.getPersisterClassProvider()Lorg/hibernate/persister/PersisterClassProvider;

        at org.jboss.as.jpa.service.PersistenceUnitServiceImpl$1$1.run(PersistenceUnitServiceImpl.java:172) [wildfly-jpa-8.2.0.Final.jar:8.2.0.Final]

        at org.jboss.as.jpa.service.PersistenceUnitServiceImpl$1$1.run(PersistenceUnitServiceImpl.java:117) [wildfly-jpa-8.2.0.Final.jar:8.2.0.Final]

        at java.security.AccessController.doPrivileged(Native Method) [rt.jar:1.8.0_11]

        at org.wildfly.security.manager.WildFlySecurityManager.doChecked(WildFlySecurityManager.java:474)

        at org.jboss.as.jpa.service.PersistenceUnitServiceImpl$1.run(PersistenceUnitServiceImpl.java:182) [wildfly-jpa-8.2.0.Final.jar:8.2.0.Final]

        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) [rt.jar:1.8.0_11]

        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) [rt.jar:1.8.0_11]

        at java.lang.Thread.run(Thread.java:745) [rt.jar:1.8.0_11]

        at org.jboss.threads.JBossThread.run(JBossThread.java:122)

      Caused by: java.lang.NoSuchMethodError: org.hibernate.cfg.AnnotationConfiguration.getPersisterClassProvider()Lorg/hibernate/persister/PersisterClassProvider;

        at org.hibernate.ejb.Ejb3Configuration.configure(Ejb3Configuration.java:1055) [hibernate-entitymanager-3.6.3.Final.jar:3.6.3.Final]

        at org.hibernate.ejb.Ejb3Configuration.configure(Ejb3Configuration.java:689) [hibernate-entitymanager-3.6.3.Final.jar:3.6.3.Final]

        at org.hibernate.ejb.HibernatePersistence.createContainerEntityManagerFactory(HibernatePersistence.java:73) [hibernate-entitymanager-3.6.3.Final.jar:3.6.3.Final]

        at org.jboss.as.jpa.service.PersistenceUnitServiceImpl.createContainerEntityManagerFactory(PersistenceUnitServiceImpl.java:318) [wildfly-jpa-8.2.0.Final.jar:8.2.0.Final]

        at org.jboss.as.jpa.service.PersistenceUnitServiceImpl.access$1100(PersistenceUnitServiceImpl.java:67) [wildfly-jpa-8.2.0.Final.jar:8.2.0.Final]

        at org.jboss.as.jpa.service.PersistenceUnitServiceImpl$1$1.run(PersistenceUnitServiceImpl.java:167) [wildfly-jpa-8.2.0.Final.jar:8.2.0.Final]

        ... 8 more

       

       

      17:55:02,688 ERROR [org.jboss.as.controller.management-operation] (Controller Boot Thread) JBAS014613: Operation ("deploy") failed - address: ([("deployment" => "project-ear.ear")]) - failure description: {

          "JBAS014671: Failed services" => {"jboss.persistenceunit.\"project-ear.ear/project-ejb.jar#project\"" => "org.jboss.msc.service.StartException in service jboss.persistenceunit.\"project-ear.ear/project-ejb.jar#project\": java.lang.NoSuchMethodError: org.hibernate.cfg.AnnotationConfiguration.getPersisterClassProvider()Lorg/hibernate/persister/PersisterClassProvider;

          Caused by: java.lang.NoSuchMethodError: org.hibernate.cfg.AnnotationConfiguration.getPersisterClassProvider()Lorg/hibernate/persister/PersisterClassProvider;"},

          "JBAS014771: Services with missing/unavailable dependencies" => [

              "jboss.naming.context.java.comp.project-ear.jboss-seam.EjbSynchronizations.Validator is missing [jboss.naming.context.java.comp.project-ear.jboss-seam.EjbSynchronizations]",

              "jboss.naming.context.java.comp.project-ear.jboss-seam.TimerServiceDispatcher.Validator is missing [jboss.naming.context.java.comp.project-ear.jboss-seam.TimerServiceDispatcher]",

              "jboss.naming.context.java.comp.project-ear.jboss-seam.EjbSynchronizations.InstanceName is missing [jboss.naming.context.java.comp.project-ear.jboss-seam.EjbSynchronizations]",

              "jboss.naming.context.java.comp.project-ear.jboss-seam.TimerServiceDispatcher.InstanceName is missing [jboss.naming.context.java.comp.project-ear.jboss-seam.TimerServiceDispatcher]",

              "jboss.naming.context.java.comp.project-ear.jboss-seam.TimerServiceDispatcher.ValidatorFactory is missing [jboss.naming.context.java.comp.project-ear.jboss-seam.TimerServiceDispatcher]",

              "jboss.naming.context.java.comp.project-ear.jboss-seam.TimerServiceDispatcher.InAppClientContainer is missing [jboss.naming.context.java.comp.project-ear.jboss-seam.TimerServiceDispatcher]",

              "jboss.naming.context.java.comp.project-ear.jboss-seam.EjbSynchronizations.ValidatorFactory is missing [jboss.naming.context.java.comp.project-ear.jboss-seam.EjbSynchronizations]",

              "jboss.naming.context.java.comp.project-ear.jboss-seam.EjbSynchronizations.InAppClientContainer is missing [jboss.naming.context.java.comp.project-ear.jboss-seam.EjbSynchronizations]"

          ]

      }

      17:55:03,787 INFO  [org.jboss.as.server] (Controller Boot Thread) JBAS018559: Deployed "ojdbc6.jar" (runtime-name : "ojdbc6.jar")

      17:55:03,788 INFO  [org.jboss.as.server] (ServerService Thread Pool -- 27) JBAS018559: Deployed "project-ear.ear" (runtime-name : "project-ear.ear")

      17:55:03,805 INFO  [org.jboss.as.controller] (Controller Boot Thread) JBAS014774: Service status report

      JBAS014775:    New missing/unsatisfied dependencies:

            service jboss.naming.context.java.comp.project-ear.jboss-seam.EjbSynchronizations (missing) dependents: [service jboss.naming.context.java.comp.project-ear.jboss-seam.EjbSynchronizations.InstanceName, service jboss.naming.context.java.comp.project-ear.jboss-seam.EjbSynchronizations.ValidatorFactory, service jboss.naming.context.java.comp.project-ear.jboss-seam.EjbSynchronizations.InAppClientContainer, service jboss.naming.context.java.comp.project-ear.jboss-seam.EjbSynchronizations.Validator]

            service jboss.naming.context.java.comp.project-ear.jboss-seam.TimerServiceDispatcher (missing) dependents: [service jboss.naming.context.java.comp.project-ear.jboss-seam.TimerServiceDispatcher.Validator, service jboss.naming.context.java.comp.project-ear.jboss-seam.TimerServiceDispatcher.InstanceName, service jboss.naming.context.java.comp.project-ear.jboss-seam.TimerServiceDispatcher.ValidatorFactory, service jboss.naming.context.java.comp.project-ear.jboss-seam.TimerServiceDispatcher.InAppClientContainer]

      JBAS014777:   Services which failed to start:      service jboss.persistenceunit."project-ear.ear/project-ejb.jar#project": org.jboss.msc.service.StartException in service jboss.persistenceunit."project-ear.ear/project-ejb.jar#project": java.lang.NoSuchMethodError: org.hibernate.cfg.AnnotationConfiguration.getPersisterClassProvider()Lorg/hibernate/persister/PersisterClassProvider;

       

       

      17:55:03,944 INFO  [org.jboss.as] (Controller Boot Thread) JBAS015961: Http management interface listening on http://127.0.0.1:10190/management

      17:55:03,944 INFO  [org.jboss.as] (Controller Boot Thread) JBAS015951: Admin console listening on http://127.0.0.1:10190

      17:55:03,944 ERROR [org.jboss.as] (Controller Boot Thread) JBAS015875: WildFly 8.2.0.Final "Tweek" started (with errors) in 32561ms - Started 328 of 398 services (15 services failed or missing dependencies, 99 services are lazy, passive or on-demand)

      17:55:04,160 INFO  [org.hibernate.validator.internal.util.Version] (MSC service thread 1-2) HV000001: Hibernate Validator 5.1.3.Final

      17:55:04,436 INFO  [org.jboss.as.connector.subsystems.datasources] (MSC service thread 1-4) JBAS010409: Unbound data source [java:/projectDatasource]

      17:55:04,446 INFO  [org.jboss.as.connector.deployers.jdbc] (MSC service thread 1-2) JBAS010418: Stopped Driver service with driver-name = ojdbc6.jar

      17:55:04,487 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-1) JBAS015877: Stopped deployment ojdbc6.jar (runtime-name: ojdbc6.jar) in 406ms

      17:55:04,518 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-1) JBAS015974: Stopped subdeployment (runtime-name: jboss-seam.jar) in 435ms

      17:55:04,529 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-4) JBAS015974: Stopped subdeployment (runtime-name: project.war) in 447ms

      17:55:04,530 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-2) JBAS015974: Stopped subdeployment (runtime-name: project-ejb.jar) in 447ms

      17:55:04,947 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-1) JBAS015974: Stopped subdeployment (runtime-name: project-gen.jar) in 864ms

      17:55:05,300 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-4) JBAS015877: Stopped deployment project-ear.ear (runtime-name: project-ear.ear) in 1219ms

      17:55:05,596 INFO  [org.jboss.as.repository] (DeploymentScanner-threads - 2) JBAS014901: Content removed from location D:\Migration_Workspace\Jboss\Jboss-8\wildfly-8.2.0.Final\standalone\data\content\5b\371965872f89ed74702ceec901b12f0074081e\content

      17:55:05,597 INFO  [org.jboss.as.server] (DeploymentScanner-threads - 2) JBAS018558: Undeployed "ojdbc6.jar" (runtime-name: "ojdbc6.jar")

      17:55:05,597 INFO  [org.jboss.as.server] (DeploymentScanner-threads - 2) JBAS018558: Undeployed "project-ear.ear" (runtime-name: "project-ear.ear")

      17:55:05,597 INFO  [org.jboss.as.controller] (DeploymentScanner-threads - 2) JBAS014774: Service status report

      JBAS014775:    New missing/unsatisfied dependencies:

            service jboss.jdbc-driver.ojdbc6_jar (missing) dependents: [service jboss.driver-demander.java:/projectDatasource, service jboss.data-source.java:/projectDatasource]

            service jboss.naming.context.java.module.project-ear.project (missing) dependents: [service jboss.deployment.subunit."project-ear.ear"."project.war".INSTALL]

            service jboss.naming.context.java.module.project-ear.project-gen (missing) dependents: [service jboss.deployment.subunit."project-ear.ear"."project-gen.jar".INSTALL]

            service jboss.naming.context.java.module.project-ear.jboss-seam (missing) dependents: [service jboss.deployment.subunit."project-ear.ear"."jboss-seam.jar".INSTALL]

            service jboss.persistenceunit."project-ear.ear/project-ejb.jar#project" (missing) dependents: [service jboss.deployment.subunit."project-ear.ear"."project-ejb.jar".POST_MODULE, service jboss.naming.context.java.projectEntityManagerFactory]

      JBAS014777:   Services which failed to start:      service jboss.persistenceunit."project-ear.ear/project-ejb.jar#project"

       

       

      17:55:08,864 INFO  [org.jboss.as.server.deployment.scanner] (DeploymentScanner-threads - 2) JBAS015003: Found project-ear.ear in deployment directory. To trigger deployment create a file called project-ear.ear.dodeploy

       

      From log we can see that WildFly is loading my hibernate 3.5.6 and as per my knowledge org.hibernate.cfg.AnnotationConfiguration is deprecated from 3.6.0 on wards and moved to org.hibernate.cfg.Configuration.

       

      I am not understanding why I am getting this exception.