javax.persistence.PersistenceException: [PersistenceUnit: OpenAdsPU] Unable to build Hibernate SessionFactory

Stack Overflow | Mitsu García | 8 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Can't deploy app (JAX-RS, CDI, JPA) with Kotlin (ClassNotFound DefaultConstructorMarker)

    Stack Overflow | 8 months ago | Mitsu García
    javax.persistence.PersistenceException: [PersistenceUnit: OpenAdsPU] Unable to build Hibernate SessionFactory
  2. 0

    Apache http classes not found | JBoss Developer

    jboss.org | 11 months ago
    org.jboss.weld.resources.spi.ResourceLoadingException: Error while loading class siteaccess.web.backend.service.RestEasyClientProducer
  3. 0

    [cas-user] Cas 5.x on WildFly

    Google Groups | 2 months ago | Gokhan Mansuroglu
    java.lang.IllegalStateException: Cannot load configuration class: org.apereo.cas.config.CasEmbeddedContainerConfiguration
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Activiti + Liferay + JBoss - Forums - EmForge

    emforge.net | 12 months ago
    java.lang.NoClassDefFoundError: org/hibernate/HibernateException
  6. 0

    Issue 196 in google-gin: java.lang.NoClassDefFoundError: sun/security/timestamp/Timestamper

    Google Groups | 3 years ago | Unknown author
    java.lang.NoClassDefFoundError: sun/security/timestamp/Timestamper
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.ClassNotFoundException

    kotlin.jvm.internal.DefaultConstructorMarker from [Module "deployment.Core_war_exploded.war:main" from Service Module Loader]

    at org.jboss.modules.ModuleClassLoader.findClass()
  2. JBoss Modules
    ConcurrentClassLoader.loadClass
    1. org.jboss.modules.ModuleClassLoader.findClass(ModuleClassLoader.java:198)
    2. org.jboss.modules.ConcurrentClassLoader.performLoadClassUnchecked(ConcurrentClassLoader.java:363)
    3. org.jboss.modules.ConcurrentClassLoader.performLoadClass(ConcurrentClassLoader.java:351)
    4. org.jboss.modules.ConcurrentClassLoader.loadClass(ConcurrentClassLoader.java:93)
    4 frames
  3. Java RT
    Class.getDeclaredConstructors
    1. java.lang.Class.getDeclaredConstructors0(Native Method)
    2. java.lang.Class.privateGetDeclaredConstructors(Class.java:2671)
    3. java.lang.Class.getDeclaredConstructors(Class.java:2020)
    3 frames
  4. Hibernate Validator Engine
    ValidatorImpl.getConstraintsForClass
    1. org.hibernate.validator.internal.util.privilegedactions.GetDeclaredConstructors.run(GetDeclaredConstructors.java:30)
    2. org.hibernate.validator.internal.util.privilegedactions.GetDeclaredConstructors.run(GetDeclaredConstructors.java:17)
    3. org.hibernate.validator.internal.metadata.provider.AnnotationMetaDataProvider.run(AnnotationMetaDataProvider.java:676)
    4. org.hibernate.validator.internal.metadata.provider.AnnotationMetaDataProvider.getConstructorMetaData(AnnotationMetaDataProvider.java:304)
    5. org.hibernate.validator.internal.metadata.provider.AnnotationMetaDataProvider.retrieveBeanConfiguration(AnnotationMetaDataProvider.java:139)
    6. org.hibernate.validator.internal.metadata.provider.AnnotationMetaDataProvider.getBeanConfiguration(AnnotationMetaDataProvider.java:125)
    7. org.hibernate.validator.internal.metadata.provider.AnnotationMetaDataProvider.getBeanConfigurationForHierarchy(AnnotationMetaDataProvider.java:108)
    8. org.hibernate.validator.internal.metadata.BeanMetaDataManager.createBeanMetaData(BeanMetaDataManager.java:166)
    9. org.hibernate.validator.internal.metadata.BeanMetaDataManager.getOrCreateBeanMetaData(BeanMetaDataManager.java:194)
    10. org.hibernate.validator.internal.metadata.BeanMetaDataManager.getBeanMetaData(BeanMetaDataManager.java:142)
    11. org.hibernate.validator.internal.engine.ValidatorImpl.getConstraintsForClass(ValidatorImpl.java:324)
    11 frames
  5. Hibernate
    TypeSafeActivator.activate
    1. org.hibernate.cfg.beanvalidation.TypeSafeActivator.applyDDL(TypeSafeActivator.java:207)
    2. org.hibernate.cfg.beanvalidation.TypeSafeActivator.applyRelationalConstraints(TypeSafeActivator.java:191)
    3. org.hibernate.cfg.beanvalidation.TypeSafeActivator.applyRelationalConstraints(TypeSafeActivator.java:150)
    4. org.hibernate.cfg.beanvalidation.TypeSafeActivator.activate(TypeSafeActivator.java:98)
    4 frames
  6. Java RT
    Method.invoke
    1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    4. java.lang.reflect.Method.invoke(Method.java:498)
    4 frames
  7. Hibernate
    SessionFactoryImpl.<init>
    1. org.hibernate.cfg.beanvalidation.BeanValidationIntegrator.integrate(BeanValidationIntegrator.java:132)
    2. org.hibernate.internal.SessionFactoryImpl.<init>(SessionFactoryImpl.java:278)
    2 frames
  8. org.hibernate.boot
    SessionFactoryBuilderImpl.build
    1. org.hibernate.boot.internal.SessionFactoryBuilderImpl.build(SessionFactoryBuilderImpl.java:444)
    1 frame
  9. org.hibernate.jpa
    EntityManagerFactoryBuilderImpl.build
    1. org.hibernate.jpa.boot.internal.EntityManagerFactoryBuilderImpl.build(EntityManagerFactoryBuilderImpl.java:879)
    1 frame
  10. org.jboss.as
    TwoPhaseBootstrapImpl.build
    1. org.jboss.as.jpa.hibernate5.TwoPhaseBootstrapImpl.build(TwoPhaseBootstrapImpl.java:44)
    1 frame
  11. JPA
    PersistenceUnitServiceImpl$1$1.run
    1. org.jboss.as.jpa.service.PersistenceUnitServiceImpl$1$1.run(PersistenceUnitServiceImpl.java:161)
    2. org.jboss.as.jpa.service.PersistenceUnitServiceImpl$1$1.run(PersistenceUnitServiceImpl.java:121)
    2 frames
  12. WildFly Security Manager
    WildFlySecurityManager.doChecked
    1. org.wildfly.security.manager.WildFlySecurityManager.doChecked(WildFlySecurityManager.java:667)
    1 frame
  13. JPA
    PersistenceUnitServiceImpl$1.run
    1. org.jboss.as.jpa.service.PersistenceUnitServiceImpl$1.run(PersistenceUnitServiceImpl.java:193)
    1 frame
  14. Java RT
    Thread.run
    1. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
    2. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
    3. java.lang.Thread.run(Thread.java:745)
    3 frames
  15. JBoss Threads
    JBossThread.run
    1. org.jboss.threads.JBossThread.run(JBossThread.java:320)
    1 frame