当前位置: 代码迷 >> 综合 >> JPA 生成实体类报错 is managed, but is not listed in the persistence.xml file 解决方法(20200815001)
  详细解决方案

JPA 生成实体类报错 is managed, but is not listed in the persistence.xml file 解决方法(20200815001)

热度:78   发布时间:2024-02-11 13:18:53.0

Class "com.taiji.apps.demo.domain.Sample.java"  is managed, but is not listed in the persistence.xml file,

解决方法为右键工程->properties->点击JPA->点击"Discover annotated classes automatically"前面的按钮,点击ok,问题解决

 

 

  相关解决方案