org.hibernate.AnnotationException: No identifier specified for entity 错误解决时间:2023-07-07 20:34:37主键对应的属性上加上@Id注解,对应javax.persistence.Id @Id private Long id;