javax.persistence.PersistenceException: No name provided and several persistence units found

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 AppFuse JIRA by Matt Raible, 1 year ago
No name provided and several persistence units found
via soso.io by Unknown author, 1 year ago
[PersistenceUnit: fb-persistence] Unable to configure EntityManagerFactory
via Stack Overflow by giulius
, 1 year ago
[PersistenceUnit: fb-persistence] Unable to configure EntityManagerFactory
via dolinked.com by Unknown author, 1 year ago
[PersistenceUnit: fb-persistence] Unable to configure EntityManagerFactory
via AppFuse JIRA by Matt Raible, 1 year ago
No name provided and several persistence units found
via AppFuse JIRA by Peter Lynch, 1 year ago
No name provided and several persistence units found
javax.persistence.PersistenceException: No name provided and several persistence units found
at org.hibernate.ejb.Ejb3Configuration.configure(Ejb3Configuration.java:226)
at org.codehaus.mojo.hibernate3.configuration.JPAComponentConfiguration.createConfiguration(JPAComponentConfiguration.java:26)
at org.codehaus.mojo.hibernate3.configuration.AbstractComponentConfiguration.getConfiguration(AbstractComponentConfiguration.java:32)
at org.codehaus.mojo.hibernate3.exporter.Hbm2DDLExporterMojo.doExecute(Hbm2DDLExporterMojo.java:87)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 1 year ago

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