Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
The moose likes Object Relational Mapping and the fly likes No Persistence provider for EntityManager named mockPersist Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Groovy Fundamentals video training course this week in the Groovy forum!
JavaRanch » Java Forums » Databases » Object Relational Mapping
Bookmark "No Persistence provider for EntityManager named mockPersist" Watch "No Persistence provider for EntityManager named mockPersist" New topic
Author

No Persistence provider for EntityManager named mockPersist

Himalay Majumdar
Ranch Hand

Joined: Sep 28, 2008
Posts: 324
Below is my persistence.xml



Here is how I create..



Please suggest.
 
Don't get me started about those stupid light bulbs.
 
subject: No Persistence provider for EntityManager named mockPersist