1.
No identifier specified for entity: com.lihh.Entity.Person 解决办法
import org.springframework.data.annotation.Id; 替换为 import javax.persistence.Id;
2.
Schema-validation: missing table [person]
原因是配置文件写错了 没加spring.jpa 怕不是个傻子
No identifier specified for entity: com.lihh.Entity.Person 解决办法
import org.springframework.data.annotation.Id; 替换为 import javax.persistence.Id;
Schema-validation: missing table [person]
原因是配置文件写错了 没加spring.jpa 怕不是个傻子