javax.persistence.PersistenceException: No Persistence provider for EntityManager named [message #463640] |
Tue, 13 February 2007 21:16 |
Eclipse User |
|
|
|
I have JPA code in an Eclipse plugin project. When I launch the
application I get the following error message:
"javax.persistence.PersistenceException: No Persistence provider for
EntityManager named"
But if I extract all the JPA code including the
src/META-INF/persistence.xml into a separate eclipse project and JAR it
up and add it as dependency on my original project (via a plugin project
from jars) everything works fine.
While this is a workaround, it a huge inconvenience when the JPA code is
actively undergoing development and we need to JAR frequently.
I was wondering if any else has come across this issue and how it's been
solved.
Thanks for your time.
-sud
|
|
|
Powered by
FUDForum. Page generated in 0.04118 seconds