pom.xml中的版本号修改后,Maven dependencies 没有更新

在Spring Boot项目中使用Maven,引用spring-boot 1.5.3.RELEASE。(IDE用的是STS)

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

之后使用spring-boot 2.0.0.M5版本。
再然后切换会原来的版本(在pom.xml就改了<version>1.5.3.RELEASE</version>)后,在Maven dependencies目录下看到的还是2.0.0.M5版本相关的jar包。
STS中clean,maven update过都不能使版本返回1.5.3。

有什么其他方式可以尝试来解决这个问题呢?

阅读 10k
撰写回答
你尚未登录,登录后可以
  • 和开发者交流问题的细节
  • 关注并接收问题和回答的更新提醒
  • 参与内容的编辑和改进,让解决方法与时俱进
推荐问题