【问题标题】:Strange Maven3 error奇怪的 Maven3 错误
【发布时间】:2010-11-13 03:45:37
【问题描述】:

所有,使用 maven (mvn clean install) 构建时出现此错误。 找不到问题的描述。也许有人遇到过它,这是什么意思以及如何解决?如何强制更新?

Failure to find org.springframework:spring:jar:3.0.0.RELEASE in http://download.java.net/maven/2/ was cached in
the local repository, resolution will not be reattempted until the update interval of Java.Net has elapsed or updates are forced -> [Help 1]

【问题讨论】:

    标签: maven maven-3


    【解决方案1】:

    不确定这是否适用于 Maven 3,以下是适用于 Maven 2 的方法。这应该可以清理本地存储库:

    mvn dependency:purge-local-repository
    

    否则,请尝试从本地存储库中清除特定工件:

    * Linux: ~/.m2
    * Windows: C:\Documents and Settings\USER\.m2
    

    【讨论】:

      猜你喜欢
      • 2010-11-17
      • 1970-01-01
      • 2014-10-11
      • 2012-04-27
      • 2013-10-30
      • 2016-09-18
      • 2012-03-18
      • 2015-05-13
      • 2016-07-14
      相关资源
      最近更新 更多