[pom 文件报错 ] [ERROR] Some problems were encountered while processing the POMs: clear失败的原因

自己记录的有点乱,有相关的问题 可以留言一下! 希望能帮到

  • g[ERROR] Some problems were encountered while processing the POMs:
    Non-resolvable import POM: Failure to find org.springframework.boot:spring-boot-dependencies:pom:${spring-boot.version} in https://repo.maven.apache.org/maven2 was cached in the local repository, resolution will not be reattempted until the update interval of central has elapsed or updates are forced @ line 75, column 25

注意查看错误信息!

上图提示:版本有错误!

报错版本之前 我是没有设置 

<spring-boot.version>2.2.5.RELEASE</spring-boot.version>

 单纯只有parent里面 有一个  下面这个版本

<version>2.2.5.RELEASE</version> 

当我定位到这个的时候:  我就在  properties 标签里面也添加了 对应的 这个

<spring-boot.version>2.2.5.RELEASE</spring-boot.version>

我这里是 动了 pom里面boot版本的配置!

因为我要集成  ES7.6.1  windows下载的版本就是7.6.1  必须对应 比较好!!

报错版本:

 

 正确版本:

 

总结:

上面说到 我动了 boot pom的版本 

是因为之前默认的时候是  下面这样,  是没有  <version>2.2.5RELEASE</version>的!!!

<spring-boot.version>2.2.5.RELEASE</spring-boot.version>

因为需要集成ES  parent 里面没有  对应的version 版本  : es的依赖不生效  ,底层默认还是6.8.6

<elasticsearch.version>7.6.1</elasticsearch.version>

修改了以后  ,因为我把<spring-boot.version> 给去掉了 就在上面加入了  version 标签这个 ,

然后下图 版本就读取不到了

  • 2
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 打赏
    打赏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

是汤圆丫

怎么 给1分?

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值