如果 你添加了@entity 和@ID标签 还报错 那么 请注意导入的jar包路径
https://stackoverflow.com/questions/25851029/org-hibernate-annotationexception-no-identifier-specified-for-entity-i-dont-ha
这篇文章的第一个答案 说的完全正确
如果 你添加了@entity 和@ID标签 还报错 那么 请注意导入的jar包路径
https://stackoverflow.com/questions/25851029/org-hibernate-annotationexception-no-identifier-specified-for-entity-i-dont-ha
这篇文章的第一个答案 说的完全正确