javax.persistence.PersistenceException: \[PersistenceUnit: default\] Unable to configure EntityManagerFactory

openxava | lesterg | 8 years 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

    Listas que no provienen de entidades

    openxava | 8 years ago | lesterg
    javax.persistence.PersistenceException: \[PersistenceUnit: default\] Unable to configure EntityManagerFactory
  2. 0

    Módulo no encontrado

    openxava | 8 years ago | anasande
    javax.persistence.PersistenceException: \[PersistenceUnit: default\] Unable to configure EntityManagerFactory
  3. 0

    @Embeddable classes

    openxava | 8 years ago | nishiboy
    javax.persistence.PersistenceException: \[PersistenceUnit: default\] Unable to build EntityManagerFactory
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    GridSphere questions

    openxava | 9 years ago | ztw
    javax.persistence.PersistenceException: org.hibernate.HibernateException: Could not find datasource
  6. 0

    how to switch to mysql (or another DB)?

    openxava | 1 decade ago | nadsinoz
    javax.persistence.PersistenceException: org.hibernate.HibernateException: Could not instantiate cache implementation

    4 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. javax.persistence.PersistenceException

      \[PersistenceUnit: default\] Unable to configure EntityManagerFactory

      at org.hibernate.ejb.Ejb3Configuration.configure()
    2. Hibernate EJB
      HibernatePersistence.createEntityManagerFactory
      1. org.hibernate.ejb.Ejb3Configuration.configure(Ejb3Configuration.java:265)
      2. org.hibernate.ejb.HibernatePersistence.createEntityManagerFactory(HibernatePersistence.java:125)
      2 frames
    3. JavaEE 7
      Persistence.createEntityManagerFactory
      1. javax.persistence.Persistence.createEntityManagerFactory(Persistence.java:51)
      1 frame
    4. org.openxava.jpa
      XPersistence.createManager
      1. org.openxava.jpa.XPersistence.getEntityManagerFactory(XPersistence.java:179)
      2. org.openxava.jpa.XPersistence.createManager(XPersistence.java:107)
      2 frames
    5. org.openxava.annotations
      AnnotatedClassParser.parse
      1. org.openxava.annotations.parse.AnnotatedClassParser.obtainManagedClassNamesUsingHibernate(AnnotatedClassParser.java:2218)
      2. org.openxava.annotations.parse.AnnotatedClassParser.getManagedClassNames(AnnotatedClassParser.java:2134)
      3. org.openxava.annotations.parse.AnnotatedClassParser.getClassNameFor(AnnotatedClassParser.java:2096)
      4. org.openxava.annotations.parse.AnnotatedClassParser.parse(AnnotatedClassParser.java:54)
      4 frames
    6. 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
    7. org.openxava.util
      Objects.execute
      1. org.openxava.util.Objects.execute(Objects.java:193)
      2. org.openxava.util.Objects.execute(Objects.java:112)
      2 frames
    8. org.openxava.component
      MetaComponent.exists
      1. org.openxava.component.ComponentParser.parseAnnotatedClass(ComponentParser.java:54)
      2. org.openxava.component.ComponentParser.parse(ComponentParser.java:34)
      3. org.openxava.component.MetaComponent.get(MetaComponent.java:60)
      4. org.openxava.component.MetaComponent.exists(MetaComponent.java:75)
      4 frames
    9. org.openxava.application
      MetaApplication.getMetaModule
      1. org.openxava.application.meta.MetaApplication.existsModel(MetaApplication.java:161)
      2. org.openxava.application.meta.MetaApplication.getMetaModule(MetaApplication.java:149)
      2 frames
    10. org.openxava.controller
      ModuleManager.setModuleName
      1. org.openxava.controller.ModuleManager.getMetaModule(ModuleManager.java:776)
      2. org.openxava.controller.ModuleManager.setupModuleControllers(ModuleManager.java:158)
      3. org.openxava.controller.ModuleManager.setModuleName(ModuleManager.java:753)
      3 frames