报错Caused by: org.hibernate.AnnotationException: No identifier specified for entity:

原因:

1、没有给实体类ID

解决方案

这里不是spring的@Id,否则报错

报错Caused by: org.hibernate.AnnotationException: No identifier specified for entity:

 

相关文章:

  • 2022-12-23
  • 2021-12-13
  • 2022-12-23
  • 2021-05-11
  • 2022-01-17
  • 2022-12-23
猜你喜欢
  • 2021-10-22
  • 2021-12-26
  • 2022-12-23
  • 2021-11-24
  • 2022-01-17
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案