SpringBoot中,@Entity註解不能使用的解決方法

1.首先檢查pom.xml配置中有沒有添加相關依賴(如果沒有複製粘貼以下依賴到pom.xml文件中)     <dependency>           <groupId>org.springframework.boot</groupId>       <artifactId>spring-boot-starter-data-jpa</artifactId>     </dependency>
相關文章
相關標籤/搜索