Skip to main content



      Home
Home » Eclipse Projects » EclipseLink » No Persistence provider(Persistence provider)
No Persistence provider [message #890441] Fri, 22 June 2012 06:02 Go to next message
Eclipse UserFriend
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 09:21 Go to previous messageGo to next message
Eclipse UserFriend
Ensure that the eclipselink.jar is no your classpath.
Re: No Persistence provider [message #892190 is a reply to message #891898] Wed, 27 June 2012 07:11 Go to previous messageGo to next message
Eclipse UserFriend
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 10:28 Go to previous message
Eclipse UserFriend
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: Wed Jul 23 19:34:42 EDT 2025

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

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

Back to the top