POM Overriding managed version

springboot 默认的parent中有固定的指定

 

ctrl加鼠标点spring-boot-starter-parent

<parent>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-parent</artifactId>
<version>2.1.7.RELEASE</version>
<relativePath/>
</parent>

 

再ctrl加鼠标点spring-boot-dependencies

<parent>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-dependencies</artifactId>
<version>2.1.7.RELEASE</version>
<relativePath>../../spring-boot-dependencies</relativePath>
</parent>

 

 

 

ctrl加F寻找自己pom依赖版本打了黄线的,用这里的或者版本直接去掉

posted @ 2020-08-13 21:50  稚语希听  阅读(422)  评论(0编辑  收藏  举报