问题已解决。我已经将
spring boot依赖版本从更新
1.4.2.RELEASE为
1.5.19.RELEASE。及其支持
spring-cloud dependency management Edgware.SR5。
提供与版本相关的明确信息链接:
Spring Cloud Edgware发行说明: https :
//github.com/spring-projects/spring-cloud/wiki/Spring-Cloud-Edgware-Release-
Notes
Spring Cloud Camden发行说明: https :
//github.com/spring-projects/spring-cloud/wiki/Spring-Cloud-Camden-Release-
Notes
Spring Cloud Finchley发行说明: https :
//github.com/spring-projects/spring-cloud/wiki/spring-cloud-finchley-release-
notes
版本已更新,spring启动:1.5.19-RELEASE和spring云:Edgware.SR5
<parent> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-parent</artifactId><!-- <version>1.4.2.RELEASE</version> --> <version>1.5.19.RELEASE</version> <!-- <version>2.0.1.RELEASE</version> --> <relativePath/><!-- lookup parent from repository --> </parent>
更新依赖项:
<dependencyManagement> <dependencies> <dependency> <groupId>org.springframework.cloud</groupId> <artifactId>spring-cloud-dependencies</artifactId> <version>Edgware.SR5</version><type>pom</type> <scope>import</scope> </dependency> </dependencies> </dependencyManagement>
更新这两个依赖关系后,只需更新maven项目(右键单击project-> maven-> update)并执行mvn全新安装。
问题已解决。



