I have created a JPA
project. In that Eclipse displays the following error on the entity class.
Class \"model.Address\" is listed in the
I think you have the wrong JPA provider class. It has to be:
<provider>org.eclipse.persistence.jpa.PersistenceProvider</provider>
(the one you've set doesn't seem to be a class at all, let alone a provider class)
If eclipse is used , go to Window>Preference>Validation
and uncheck Suspend all validators
option .Clean the project and problem get solved.
i got similar error and when eclipse artifacts folder ".settings" is missed . After i generate eclipse artifacts using "maven-eclipse-plugin" , the error is gone