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.
The Java Persistence API, sometimes referred to as JPA, is a Java programming language specification which describes the management of relational data in applications using Java Platform, Standard Edition and Java Platform, Enterprise Edition.
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!
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With