在使用spring-boot-starter-data-jpa自动创建表的时候报错 上图可见我这几个注解都是 import javax.persistence.* 下的注解 报错的小伙伴很有可能是导错了包!