java.lang.InstantiationException

Application: TestJPAHibernate36EAR is in failed state as initialization failedoracle.oc4j.admin.internal.DeployerException: java.lang.InstantiationException: Application: TestJPAHibernate36EAR is in failed state as initialization failed

Samebug tips0

We couldn't find tips for this exception.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web48

  • via Unknown by Unknown author,
  • via Unknown by 694537,
  • via Stack Overflow by BraginiNI
    ,
  • Stack trace

    • java.lang.InstantiationException: Application: TestJPAHibernate36EAR is in failed state as initialization failedoracle.oc4j.admin.internal.DeployerException: java.lang.InstantiationException: Application: TestJPAHibernate36EAR is in failed state as initialization failed at oracle.oc4j.admin.internal.DeployerBase.execute(DeployerBase.java:133) at oracle.oc4j.admin.jmx.server.mbeans.deploy.OC4JDeployerRunnable.doRun(OC4JDeployerRunnable.java:52) at oracle.oc4j.admin.jmx.server.mbeans.deploy.DeployerRunnable.run(DeployerRunnable.java:81) at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:298) at java.lang.Thread.run(Thread.java:595) Caused by: java.lang.InstantiationException: Application: TestJPAHibernate36EAR is in failed state as initialization failed at com.evermind.server.Application.setConfig(Application.java:518) at com.evermind.server.Application.setConfig(Application.java:361) at com.evermind.server.ApplicationServer.addApplication(ApplicationServer.java:1919) at oracle.oc4j.admin.internal.ApplicationDeployer.addApplication(ApplicationDeployer.java:776) at oracle.oc4j.admin.internal.ApplicationDeployer.doDeploy(ApplicationDeployer.java:273) at oracle.oc4j.admin.internal.DeployerBase.execute(DeployerBase.java:100) ... 4 more Caused by: java.lang.NoSuchMethodError: javax.persistence.spi.PersistenceUnitInfo.getValidationMode()Ljavax/persistence/ValidationMode; at org.hibernate.ejb.Ejb3Configuration.configure(Ejb3Configuration.java:625) at org.hibernate.ejb.HibernatePersistence.createContainerEntityManagerFactory(HibernatePersistence.java:73) at com.evermind.server.ejb.persistence.PersistenceUnitManagerImpl.createContainerEntityManagerFactory(PersistenceUnitManagerImpl.java:192) at com.evermind.server.ejb.persistence.PersistenceUnitManagerImpl.initializePersistenceUnit(PersistenceUnitManagerImpl.java:159) at com.evermind.server.ejb.persistence.PersistenceUnitManagerImpl.initialize(PersistenceUnitManagerImpl.java:87) at com.evermind.server.ejb.EJBPackageDeployment.initializePersistenceUnitManager(EJBPackageDeployment.java:1074) at com.evermind.server.ejb.EJBContainer.postInit(EJBContainer.java:841) at com.evermind.server.ApplicationStateRunning.initializeApplication(ApplicationStateRunning.java:235) at com.evermind.server.Application.setConfig(Application.java:460) ... 9 more

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    Unknown visitor
    Unknown visitorOnce,
    Unknown visitor
    Unknown visitorOnce,
    Unknown visitor
    Unknown visitorOnce,