File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Object Relational Mapping and the fly likes persistence provider not found 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 "persistence provider not found" Watch "persistence provider not found" New topic

persistence provider not found

Jeroen Nouws

Joined: Jul 14, 2011
Posts: 17

I've come accross a persistence provider not found error.
Below you'll find my persistence.xml file that's located under src/META-INF

I have added the eclipselink library to my WEB-INF/lib folder but I still get following error

So here's also the line that generates this error

Is there anything I've overlooked or can anyone point me in the direction i should start looking?

much appreciated

James Sutherland
Ranch Hand

Joined: Oct 01, 2007
Posts: 553
What server/environment are you using? What jars did you add to lib?

Have you tried adding the eclipselink jar to your server's classpath?

TopLink : EclipseLink : Book:Java Persistence : Blog:Java Persistence Performance
I agree. Here's the link:
subject: persistence provider not found