今天遇到一个问题,就是所有实体类名称都报错,报错信息为: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,问题解决

JPA 实体类名称都报错

相关文章:

  • 2022-12-23
  • 2021-06-30
  • 2022-12-23
  • 2021-10-13
  • 2021-12-04
  • 2022-12-23
  • 2022-02-21
  • 2022-02-11
猜你喜欢
  • 2021-12-02
  • 2022-12-23
  • 2021-12-18
  • 2022-12-23
  • 2021-07-31
  • 2022-02-01
  • 2022-12-23
相关资源
相似解决方案