JPA 实体类名称都报错

      今天遇到一个问题,就是所有实体类名称都报错,报错信息为:Class "com.taiji.apps.demo.domain.Sample.java"  is managed, but is not listed in the persistence.xml file,经过查找资料,解决方法为右键工程->properties->点击JPA->点击"Discover annotated c
相关文章
相关标签/搜索