This week's giveaway is in the Spring forum.
We're giving away four copies of REST with Spring (video course) and have Eugen Paraschiv on-line!
See this thread for details.
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 REST with Spring (video course) this week in the Spring 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
It is sorta covered in the JavaRanch Style Guide.
subject: persistence provider not found
It's not a secret anymore!