zoukankan      html  css  js  c++  java
  • resolution will not be reattempted until the update interval of vas has elap

    转自:http://kia126.iteye.com/blog/1785120

    maven在执行过程中抛错: 

    引用
    ... was cached in the local repository, resolution will not be reattempted until the update interval of nexus has elapsed or updates are forced -> [Help 1]


    原因就是有些jar包没有完全下载完成,在编译的时候找不到jar包。只需要在配置文件中增加一个更新策略<updatePolicy>always</updatePolicy>就可以了。 
    找到你的conf/setting.xml 

    引用

    <profile> 
      <id>nexus</id> 
      <!--Enable snapshots for the built in central repo to direct --> 
      <!--all requests to nexus via the mirror --> 
      <repositories> 
        <repository> 
          <id>central</id> 
          <url>http://central</url> 
          <releases><enabled>true</enabled><updatePolicy>always</updatePolicy></releases> 
          <snapshots><enabled>true</enabled><updatePolicy>always</updatePolicy></snapshots> 
        </repository> 
      </repositories> 
    <pluginRepositories> 
        <pluginRepository> 
          <id>central</id> 
          <url>http://central</url> 
          <releases><enabled>true</enabled><updatePolicy>always</updatePolicy></releases> 
          <snapshots><enabled>true</enabled><updatePolicy>always</updatePolicy></snapshots> 
        </pluginRepository> 
      </pluginRepositories> 
    </profile> 
  • 相关阅读:
    Leetcode-2 两数相加
    离散数学-基本割集的找法
    Linux操作系统分析课程学习总结报告
    Linux实验三 结合中断上下文切换和进程上下文切换分析Linux内核一般执行过程
    Linux实验二:深入理解系统调用
    初始python
    水仙花数讲解
    Python-运算
    Python-列表
    Python-字符串
  • 原文地址:https://www.cnblogs.com/YuyuanNo1/p/8743735.html
Copyright © 2011-2022 走看看