Spring Boot 引入spring-boot-starter-data-jpa报错 解决:需要把pom文件重新加载一下 pom.xml 右击——Maven——Reimport 大功告成!
at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:360) [spring-boot-1.5.4.RELEASE.jar:1.5.4.RELEASE] at org.springframework.boot.SpringApplication.run(SpringApplication.java:303) [spring-boot-1.5.4.RELEASE.jar:1.5.4.RELEASE] at org.springframework.boot.SpringApplica...
spring: application: name: product datasource: driver-class-name: com.mysql.jdbc.Driver username: root password: oppo123 url: jdbc:mysql://127.0.0.1/SpringCloud_Sell?characterEncoding=utf-8&useSSL=false jdbc-url: jpa: show-sql: trueeureka: client: service-url: defaultZone: http://localhost:...
<artifactId>spring-boot-starter-data-jpa</artifactId>
Spring Boot 引入spring-boot-starter-data-jpa报错 Spring Boot 引入spring-boot-starter-data-jpa报错 解决:需要把pom文件重新加载一下 pom.xml 右击——Maven——Reimport 大功告成!
at org.springframework.boot.SpringApplication.run(SpringApplication.java:1107) [spring-boot-1.5.4.RELEASE.jar:1.5.4.RELEASE] at com.libz.springcloud.SpringDataJpaDomeApplication.main(SpringDataJpaDomeApplication.java:10) [classes/:na] Caused by: org.springframework.beans.factory.UnsatisfiedDependency...
<artifactId>spring-boot-starter-data-jpa</artifactId>