When developing Java projects that use Hibernate/JPA, you may encounter this error in Eclipse IDE:

This project has the JPA facet, but no JPA project could be created. See the error log for more details.

This error looks like this in the Markers view in Eclipse:

JPA Problem could not create project

To solve this problem, right click on your project, click Properties in the context menu. In the Project Properties dialog, click Project Facets on the left tree. Then in the list on the right, uncheck the option JPA:

Project Facet JPA

Click Apply and Close. You see the error is still there. Now right-click on the project and click Validate command in the context menu:

Validate command

The error JPA problem will be gone. Happy coding!


About the Author:

is certified Java programmer (SCJP and SCWCD). He started programming with Java in the time of Java 1.4 and has been falling in love with Java since then. Make friend with him on Facebook and watch his Java videos you YouTube.



Add comment

   


Comments 

#2Kumar2020-11-04 08:19
this worked for me , thanks
Quote
#1Martin2020-07-21 04:39
This didn't work for me...
Quote