Class “model.Address” is listed in the persistence.xml file but not mapped

后端 未结 9 1111
梦如初夏
梦如初夏 2020-12-24 11:59

I have created a JPA project. In that Eclipse displays the following error on the entity class.

Class \"model.Address\" is listed in the

9条回答
  •  挽巷
    挽巷 (楼主)
    2020-12-24 12:40

    I think you have the wrong JPA provider class. It has to be:

    org.eclipse.persistence.jpa.PersistenceProvider
    

    (the one you've set doesn't seem to be a class at all, let alone a provider class)

提交回复
热议问题