javax.persistence.PersistenceException: No Persistence provider for EntityManager named default

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

Samebug tips

Do you know how to solve this issue? Write a tip to help other users and build your expert profile.

Solutions on the web

via openxava by rhab13
, 1 year ago
No Persistence provider for EntityManager named default
via openxava by antoniohorrach
, 1 year ago
No Persistence provider for EntityManager named default
via Stack Overflow by Mr Phi
, 2 years ago
No Persistence provider for EntityManager named manager1
via Stack Overflow by user2765753
, 2 years ago
via grokbase.com by Unknown author, 2 years ago
No Persistence provider for EntityManager named teamplay_test
via Stack Overflow by minzchickenflavor
, 1 year ago
No Persistence provider for EntityManager named DERBY
javax.persistence.PersistenceException: No Persistence provider for EntityManager named default
at org.openxava.jpa.XPersistence.getEntityManagerFactory(XPersistence.java:182)
at org.openxava.jpa.XPersistence.createManager(XPersistence.java:108)
at org.openxava.annotations.parse.AnnotatedClassParser.obtainManagedClassNamesUsingJPA(AnnotatedClassParser.java:2603)
at org.openxava.annotations.parse.AnnotatedClassParser.getManagedClassNames(AnnotatedClassParser.java:2519)
at org.openxava.annotations.parse.AnnotatedClassParser.getClassNameFor(AnnotatedClassParser.java:2471)
at org.openxava.annotations.parse.AnnotatedClassParser.parse(AnnotatedClassParser.java:180)
at org.openxava.component.ComponentParser.parseAnnotatedClass(ComponentParser.java:47)
at org.openxava.component.ComponentParser.parse(ComponentParser.java:36)
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:151)
at org.openxava.application.meta.MetaApplication.getMetaModule(MetaApplication.java:140)
at org.openxava.controller.ModuleManager.getMetaModule(ModuleManager.java:1022)
at org.openxava.controller.ModuleManager.setupModuleControllers(ModuleManager.java:230)
at org.openxava.controller.ModuleManager.setModuleName(ModuleManager.java:995)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 1 year ago
3 times, 3 weeks ago
Samebug visitor profile picture
Unknown user
Once, 1 month ago
Once, 10 months ago
2 times, 1 year ago

Write tip

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