maven相关

Class "" is listed in the persistence.xml file , but is not annotated

选中项目,右键点击

properties

JPA

persistent class mannnagement
选中Discover annotated classes automatically
或者
canonical metamodel
source folder src/main/java

你可能感兴趣的:(maven相关)