javax.persistence.PersistenceException

\[PersistenceUnit: default\] Unable to build EntityManagerFactory

Samebug tips0

There are no available Samebug tips for this exception. If you know how to solve this issue, help other users by writing a short tip.

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

Solutions on the web1605

  • via Google Groups by Unknown author, 1 month ago
    [PersistenceUnit: default] Unable to build EntityManagerFactory
  • via ha-jdbc by imbolcus
    , 1 year ago
    [PersistenceUnit: default] Unable to build EntityManagerFactory
  • [PersistenceUnit: default] Unable to build EntityManagerFactory
  • Stack trace

    • javax.persistence.PersistenceException: \[PersistenceUnit: default\] Unable to build EntityManagerFactory at org.hibernate.ejb.Ejb3Configuration.buildEntityManagerFactory(Ejb3Configuration.java:677) at org.hibernate.ejb.HibernatePersistence.createEntityManagerFactory(HibernatePersistence.java:126) at javax.persistence.Persistence.createEntityManagerFactory(Persistence.java:51) at org.openxava.jpa.XPersistence.getEntityManagerFactory(XPersistence.java:179) at org.openxava.jpa.XPersistence.createManager(XPersistence.java:107) at org.openxava.annotations.parse.AnnotatedClassParser.obtainManagedClassNamesUsingHibernate(AnnotatedClassParser.java:2218) at org.openxava.annotations.parse.AnnotatedClassParser.getManagedClassNames(AnnotatedClassParser.java:2134) at org.openxava.annotations.parse.AnnotatedClassParser.getClassNameFor(AnnotatedClassParser.java:2096) at org.openxava.annotations.parse.AnnotatedClassParser.parse(AnnotatedClassParser.java:54) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.openxava.util.Objects.execute(Objects.java:193) at org.openxava.util.Objects.execute(Objects.java:112) at org.openxava.component.ComponentParser.parseAnnotatedClass(ComponentParser.java:54) at org.openxava.component.ComponentParser.parse(ComponentParser.java:34) at org.openxava.component.MetaComponent.get(MetaComponent.java:60) at org.openxava.tab.Tab.getMetaTab(Tab.java:203) at org.openxava.tab.Tab.getPreferences(Tab.java:842) at org.openxava.tab.Tab.loadUserPreferences(Tab.java:1046) at org.openxava.tab.Tab.setModelName(Tab.java:775)

    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 user
    Once, 11 months ago
    Unknown user
    Once, 1 year ago
    Unknown user
    2 times, 1 year ago
    Unknown user
    Once, 10 months ago
    7 times, 1 year ago
    1 more bugmates