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

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via openxava by dark_rev_82
, 1 year ago
\[PersistenceUnit: default\] Unable to build EntityManagerFactory
via openxava by nishiboy
, 1 year ago
\[PersistenceUnit: default\] Unable to build EntityManagerFactory
via openxava by henryedsl
, 1 year ago
\[PersistenceUnit: default\] Unable to build EntityManagerFactory
via openxava by cholou
, 1 year ago
\[PersistenceUnit: junit\] Unable to build EntityManagerFactory
via sourceforge.net by Unknown author, 2 years ago
via netbeans.org by Unknown author, 2 years ago
[PersistenceUnit: Test] Unable to build EntityManagerFactory
javax.persistence.PersistenceException: \[PersistenceUnit: default\] Unable to build EntityManagerFactory
at org.hibernate.ejb.Ejb3Configuration.buildEntityManagerFactory(Ejb3Configuration.java:677)
at org.openxava.jpa.XPersistence.getEntityManagerFactory(XPersistence.java:180)
at org.openxava.jpa.XPersistence.createManager(XPersistence.java:108)
at org.openxava.annotations.parse.AnnotatedClassParser.obtainManagedClassNamesUsingHibernate(AnnotatedClassParser.java:2170)
at org.openxava.annotations.parse.AnnotatedClassParser.getManagedClassNames(AnnotatedClassParser.java:2086)
at org.openxava.annotations.parse.AnnotatedClassParser.getClassNameFor(AnnotatedClassParser.java:2048)
at org.openxava.annotations.parse.AnnotatedClassParser.parse(AnnotatedClassParser.java:53)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
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.component.MetaComponent.exists(MetaComponent.java:75)
at org.openxava.application.meta.MetaApplication.existsModel(MetaApplication.java:161)
at org.openxava.application.meta.MetaApplication.getMetaModule(MetaApplication.java:149)
at org.openxava.controller.ModuleManager.getMetaModule(ModuleManager.java:776)
at org.openxava.controller.ModuleManager.setupModuleControllers(ModuleManager.java:158)
at org.openxava.controller.ModuleManager.setModuleName(ModuleManager.java:753)

Users with the same issue

7 times, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 2 years ago

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.