spring boot和spring cloud 版本对应
spring boot和spring cloud 版本对应parent pom<parent><groupId>org.springframework.boot</groupId><artifactId>spring-boot-starter-parent</artifactId><version>2.3.3.RELEASE&
·
spring boot和spring cloud 版本对应
parent pom
<parent>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-parent</artifactId>
<version>2.3.3.RELEASE</version>
<relativePath/> <!-- lookup parent from repository -->
</parent>
child pom
<dependencies>
<dependency>
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-starter-netflix-eureka-server</artifactId>
</dependency>
</dependencies>
<dependencyManagement>
<dependencies>
<dependency>
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-dependencies</artifactId>
<version>Hoxton.SR8</version>
<type>pom</type>
<scope>import</scope>
</dependency>
</dependencies>
</dependencyManagement>
关键要找对version
查询资料后发现,2.3.3.RELEASE对应的version如上所示。
查询地址,建议用firefox浏览器打开,这样显示的是格式化了的json信息。
可以看到spring boot 2.3.3.RELEASE对应的是Hoxton.SR8
spring-cloud-dependencies 版本列表:
spring-boot-starter-parent 版本列表:
启动,成功
更多推荐
已为社区贡献1条内容
所有评论(0)