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>

 

POM Overriding managed version

 

 

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

相关文章:

  • 2021-11-19
  • 2021-07-31
  • 2021-12-13
  • 2022-12-23
  • 2021-05-20
  • 2022-01-27
  • 2022-12-23
  • 2021-09-27
猜你喜欢
  • 2022-12-23
  • 2021-07-01
  • 2021-06-08
  • 2021-09-30
  • 2021-04-17
  • 2022-12-23
相关资源
相似解决方案