springboot 全家桶项目启动报错
springboot 全家桶项目启动报错 持久层是springjpa
org.hibernate.AnnotationException: No identifier specified for entity 错误解决
主键对应的属性上加上@Id注解,对应javax.persistence.Id
@Id
private Long id;
springboot 全家桶项目启动报错 持久层是springjpa
主键对应的属性上加上@Id注解,对应javax.persistence.Id
@Id
private Long id;