Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » EclipseLink » new jpa project user library requires javax.persistence.entity
new jpa project user library requires javax.persistence.entity [message #548137] Tue, 20 July 2010 18:27 Go to next message
Steven Dahlin is currently offline Steven DahlinFriend
Messages: 18
Registered: May 2010
Junior Member
In attempting to create a new jpa project in Helios I am getting the following message in the wizard: "The class 'javax.persistence.Entity' is required to be in the selected libraries". However in the user library I have created I have included javax.persistence_2.0.1.v201006031150.jar, eclipselink.jar, and eclipselink-jpa-modelgen_2.1.0.v20100614-r7608.jar in the defined library. The javax.persistence_2.0.1.v201006031150.jar has the class javax.persistence.Entity so I am baffled by this message.
Re: new jpa project user library requires javax.persistence.entity [message #548145 is a reply to message #548137] Tue, 20 July 2010 19:16 Go to previous message
Paul Fullbright is currently offline Paul FullbrightFriend
Messages: 201
Registered: July 2009
Senior Member
Have you specified that library as the library to use during project creation? That is, did you create the library during project creation, and did you then *select* that library as the one to use for that project?

FYI, this is more of a Dali topic (JPA/EclipseLink UI tools for Eclipse) rather than an EclipseLink one, per se. The Dali forum can be found here: 113
Previous Topic:Getting Session Using JpaHelper.getEntityManager
Next Topic:help with moving to JPA
Goto Forum:

Current Time: Mon Jun 25 00:53:04 GMT 2018

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

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

Back to the top