SpringBoot中,@Entity注解不能使用的解决方法

1.首先检查pom.xml配置中有没有添加相关依赖(如果没有复制粘贴以下依赖到pom.xml文件中)     <dependency>           <groupId>org.springframework.boot</groupId>       <artifactId>spring-boot-starter-data-jpa</artifactId>     </dependency>
相关文章
相关标签/搜索