Reputation: 482
I am trying to convert one project to JPA enabled project by assigning "JPA Facet" from preferences > Project
Facets in eclipse.
But, there is no option to select "JPA Facets".
After analysis, i found that i am even not able to create a new JPA project with eclipse, i am having.
I am using eclipse JUNO. I think, i am missing something in configuration. I have tried installing eclipselink<>.jar to userlibrary configuration. But, it is not working.
Reason which i found is also mentioned in below duplicate question.
Cannot create JPA Facet: “project facet jpt.jpa could not be found”
In this also, it is mentioned that update to new eclipse. But, is there any way to find out, what is messed up in existing eclipse.
Upvotes: 6
Views: 10013
Reputation: 1855
Here is what I did and it worked:
Go to help -> install new software
In work with select Neon - http://download.eclipse.org/releases/neon (in my case)
In here you find "Web, XML, Java EE and OSGi Enterprise Development".
Open it!
Just installed everything that included the title "JPA"
Click finish, install, restart Eclipse
Now try again to find your facet!
Upvotes: 10