zoukankan      html  css  js  c++  java
  • Failed to read artifact descriptor for xxx:jar的问题解决

    经过我的测试,这种方法是可以的!

    到eclipse 中 window-->Perferences--->Maven--->User Setting---->复制user Setting ,找到Setting.xml 文件,然后复制下面这句话

    <mirror>
      <id>repo2</id>
      <mirrorOf>central</mirrorOf>
      <name>Human Readable Name for this Mirror.</name>
      <url>http://repo2.maven.org/maven2/</url>
    </mirror>
    

      

    最后,再回到eclipse,右击你所需要下载jar包依赖的项目,选择“Update Project” -> 勾选"Force Update of Snapshots/Releases":

    点击OK之后,就开始自动下载更新,报错的提示就没有了。

  • 相关阅读:
    64最长和谐子序列(594)
    63找到字符串中所有字母异位词(438)
    62有效的数独(36)
    10.10
    9.27作业
    9.27
    9.26
    9.25
    9.18学习内容
    9.17作业
  • 原文地址:https://www.cnblogs.com/wanglichaoya/p/9224665.html
Copyright © 2011-2022 走看看