Skip to main content



      Home
Home » Eclipse Projects » Rich Client Platform (RCP) » javax.persistence.PersistenceException: No Persistence provider for EntityManager named
javax.persistence.PersistenceException: No Persistence provider for EntityManager named [message #463640] Tue, 13 February 2007 21:16
Eclipse UserFriend
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
Previous Topic:Packaging and Deploying Applications based on Eclipse RCP
Next Topic:How to pass a parameter to a view
Goto Forum:
  


Current Time: Sun Mar 16 09:43:11 EDT 2025

Powered by FUDForum. Page generated in 0.04118 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top