aspose file tools*
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
JavaRanch » Java Forums » Databases » Object Relational Mapping
Bookmark "persistence provider not found" Watch "persistence provider not found" New topic
Author

persistence provider not found

Jeroen Nouws
Greenhorn

Joined: Jul 14, 2011
Posts: 17
Hello,

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

cheers
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: http://aspose.com/file-tools
 
subject: persistence provider not found