com.sun.enterprise.admin.event.AdminEventListenerException: javax.persistence.spi.PersistenceUnitInfo.getValidationMode()Ljavax/persistence/ValidationMode;

Oracle Community | userguilhem | 6 years ago
  1. 0

    Glassfish 2.1 + JPA 2: need some Sun/Oracle expert advice

    Oracle Community | 6 years ago | userguilhem
    com.sun.enterprise.admin.event.AdminEventListenerException: javax.persistence.spi.PersistenceUnitInfo.getValidationMode()Ljavax/persistence/ValidationMode;
  2. 0

    Glassfish 2.1 + JPA 2: need some expert advice

    Oracle Community | 6 years ago | userguilhem
    com.sun.enterprise.admin.event.AdminEventListenerException: javax.persistence.spi.PersistenceUnitInfo.getValidationMode()Ljavax/persistence/ValidationMode;
  3. 0

    Method have no definition javax.persistence.spi.PersistenceUnitInfo.getValidationMode()

    Stack Overflow | 2 years ago | MasterJ
    java.lang.NoSuchMethodError: javax.persistence.spi.PersistenceUnitInfo.getValidationMode()Ljavax/persistence/ValidationMode;
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Unit Tests with SpringJUnit4ClassRunner fails loading context with PersistenceUnitInfo.getValidationMode()

    Stack Overflow | 3 years ago | Mike A
    java.lang.NoSuchMethodError: javax.persistence.spi.PersistenceUnitInfo.getValidationMode()Ljavax/persistence/ValidationMode;
  6. 0

    Exploded EAR deployment fails on Weblogic 10.3.4

    Stack Overflow | 3 years ago | uno
    java.lang.NoSuchMethodError: javax.persistence.spi.PersistenceUnitInfo.getValidationMode()Ljavax/persistence/ValidationMode;

    1 unregistered visitors
    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.NoSuchMethodError

      javax.persistence.spi.PersistenceUnitInfo.getValidationMode()Ljavax/persistence/ValidationMode;

      at org.hibernate.ejb.Ejb3Configuration.configure()
    2. Hibernate EJB
      HibernatePersistence.createContainerEntityManagerFactory
      1. org.hibernate.ejb.Ejb3Configuration.configure(Ejb3Configuration.java:621)
      2. org.hibernate.ejb.HibernatePersistence.createContainerEntityManagerFactory(HibernatePersistence.java:73)
      2 frames
    3. com.sun.enterprise
      PersistenceUnitLoaderImpl.load
      1. com.sun.enterprise.server.PersistenceUnitLoaderImpl.load(PersistenceUnitLoaderImpl.java:195)
      2. com.sun.enterprise.server.PersistenceUnitLoaderImpl.load(PersistenceUnitLoaderImpl.java:106)
      2 frames
    4. Glassfish
      WebModuleListener.lifecycleEvent
      1. com.sun.enterprise.web.WebModuleListener.loadPersistenceUnits(WebModuleListener.java:174)
      2. com.sun.enterprise.web.WebModuleListener.lifecycleEvent(WebModuleListener.java:152)
      2 frames
    5. Glassfish Core
      StandardContext.start
      1. org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:130)
      2. org.apache.catalina.core.StandardContext.start(StandardContext.java:4673)
      2 frames
    6. Glassfish
      WebModule.start
      1. com.sun.enterprise.web.WebModule.start(WebModule.java:292)
      1 frame
    7. Glassfish Core
      StandardHost.addChild
      1. org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:833)
      2. org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:817)
      3. org.apache.catalina.core.StandardHost.addChild(StandardHost.java:662)
      3 frames
    8. Glassfish
      WebContainer.loadWebModule
      1. com.sun.enterprise.web.WebContainer.loadWebModule(WebContainer.java:1479)
      2. com.sun.enterprise.web.WebContainer.loadWebModule(WebContainer.java:1143)
      2 frames
    9. com.sun.enterprise
      WebModuleDeployEventListener.moduleDeployed
      1. com.sun.enterprise.server.WebModuleDeployEventListener.moduleDeployed(WebModuleDeployEventListener.java:171)
      2. com.sun.enterprise.server.WebModuleDeployEventListener.moduleDeployed(WebModuleDeployEventListener.java:275)
      2 frames
    10. admin-util
      AdminEventMulticaster.multicastEvent
      1. com.sun.enterprise.admin.event.AdminEventMulticaster.invokeModuleDeployEventListener(AdminEventMulticaster.java:954)
      2. com.sun.enterprise.admin.event.AdminEventMulticaster.handleModuleDeployEvent(AdminEventMulticaster.java:941)
      3. com.sun.enterprise.admin.event.AdminEventMulticaster.processEvent(AdminEventMulticaster.java:448)
      4. com.sun.enterprise.admin.event.AdminEventMulticaster.multicastEvent(AdminEventMulticaster.java:160)
      4 frames
    11. com.sun.enterprise
      ApplicationsConfigMBean.start
      1. com.sun.enterprise.admin.server.core.DeploymentNotificationHelper.multicastEvent(DeploymentNotificationHelper.java:296)
      2. com.sun.enterprise.deployment.phasing.DeploymentServiceUtils.multicastEvent(DeploymentServiceUtils.java:203)
      3. com.sun.enterprise.deployment.phasing.ServerDeploymentTarget.sendStartEvent(ServerDeploymentTarget.java:285)
      4. com.sun.enterprise.deployment.phasing.ApplicationStartPhase.runPhase(ApplicationStartPhase.java:119)
      5. com.sun.enterprise.deployment.phasing.DeploymentPhase.executePhase(DeploymentPhase.java:95)
      6. com.sun.enterprise.deployment.phasing.PEDeploymentService.executePhases(PEDeploymentService.java:871)
      7. com.sun.enterprise.deployment.phasing.PEDeploymentService.start(PEDeploymentService.java:541)
      8. com.sun.enterprise.deployment.phasing.PEDeploymentService.start(PEDeploymentService.java:585)
      9. com.sun.enterprise.admin.mbeans.ApplicationsConfigMBean.start(ApplicationsConfigMBean.java:719)
      9 frames
    12. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      4. java.lang.reflect.Method.invoke(Method.java:585)
      4 frames
    13. GlassFish Admin
      MBeanHelper.invokeOperationInBean
      1. com.sun.enterprise.admin.MBeanHelper.invokeOperationInBean(MBeanHelper.java:353)
      2. com.sun.enterprise.admin.MBeanHelper.invokeOperationInBean(MBeanHelper.java:336)
      2 frames
    14. com.sun.enterprise
      BaseConfigMBean.invoke
      1. com.sun.enterprise.admin.config.BaseConfigMBean.invoke(BaseConfigMBean.java:448)
      1 frame
    15. Java RT
      Method.invoke
      1. com.sun.jmx.mbeanserver.DynamicMetaDataImpl.invoke(DynamicMetaDataImpl.java:213)
      2. com.sun.jmx.mbeanserver.MetaDataImpl.invoke(MetaDataImpl.java:220)
      3. com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:815)
      4. com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:784)
      5. sun.reflect.GeneratedMethodAccessor19.invoke(Unknown Source)
      6. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      7. java.lang.reflect.Method.invoke(Method.java:585)
      7 frames
    16. admin-util
      ProxyClass.invoke
      1. com.sun.enterprise.admin.util.proxy.ProxyClass.invoke(ProxyClass.java:77)
      1 frame
    17. Unknown
      $Proxy1.invoke
      1. $Proxy1.invoke(Unknown Source)
      1 frame
    18. com.sun.enterprise
      DeployAction.run
      1. com.sun.enterprise.admin.server.core.jmx.SunoneInterceptor.invoke(SunoneInterceptor.java:297)
      2. com.sun.enterprise.deployment.client.DeploymentClientUtils.startApplication(DeploymentClientUtils.java:133)
      3. com.sun.enterprise.deployment.client.DeployAction.run(DeployAction.java:517)
      3 frames
    19. Java RT
      Thread.run
      1. java.lang.Thread.run(Thread.java:595)
      1 frame