Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » EclipseLink » No Persistence provider(Persistence provider)
No Persistence provider [message #890441] Fri, 22 June 2012 10:02 Go to next message
Jorge Ryan is currently offline Jorge RyanFriend
Messages: 5
Registered: June 2012
Junior Member
I m having problem running a class which should create a table and insert one row of data.

when I click run in eclipse
it say no persistence provider.
I installed eclipselink under help > install new software
and run the class again. it said the same thing.
what did I do wrong? did I miss anything not installed?
I post the persistence.xml for your checking.

Re: No Persistence provider [message #891898 is a reply to message #890441] Tue, 26 June 2012 13:21 Go to previous messageGo to next message
James Sutherland is currently offline James SutherlandFriend
Messages: 1939
Registered: July 2009
Location: Ottawa, Canada
Senior Member

Ensure that the eclipselink.jar is no your classpath.


James : Wiki : Book : Blog : Twitter
Re: No Persistence provider [message #892190 is a reply to message #891898] Wed, 27 June 2012 11:11 Go to previous messageGo to next message
Jorge Ryan is currently offline Jorge RyanFriend
Messages: 5
Registered: June 2012
Junior Member
could you detail it how to include it in the classpath?
Re: No Persistence provider [message #892266 is a reply to message #892190] Wed, 27 June 2012 14:28 Go to previous message
Chris Delahunt is currently offline Chris DelahuntFriend
Messages: 1389
Registered: July 2009
Senior Member
EclipseLink.jar needs to be on your classpath as well as any other libraries you wish your code to use.
http://wiki.eclipse.org/FAQ_How_do_I_add_an_extra_library_to_my_project's_classpath%3F

You can should be able to search for demos that walk through step by step how to setup JPA/EclipseLink projects in Eclipse.

Regards,
Chris
Previous Topic:The collection of metamodel types is empty.
Next Topic:Converter and orm.xml configuration
Goto Forum:
  


Current Time: Fri Apr 19 04:16:31 GMT 2024

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

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

Back to the top