阅读1029 返回首页    go iPhone_iPad_Mac_手机_平板_苹果apple


myeclipse构建MAVEN

Failure to transfer org.apache.maven:maven-artifact:pom:2.0.6 from 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. Original error: Could not transfer artifact org.apache.maven:maven-artifact:pom:2.0.6 from/to central (https://repo.maven.apache.org/maven2): No connector available to access repository central (https://repo.maven.apache.org/maven2) of type default using the available factories pom.xml /hello line 1 Maven Configuration Problem

Window-->preferences-->myeclipse-->maven4myeclipse--->user settings把local repository里面的地址复制。
如果你的myeclipse没有的话,就找到:
c:\users{你的电脑账号}.m2\repository (一般在这个文件夹里)。
打开repository文件及后,在里面搜索 maven*.lastupdated。把搜出来的文件都删了。
重启myeclipse,右键项目--->maven4myeclipse--->update project...
勾选Force Update of Snapshots/Releases,然后ok退出

最后更新:2017-05-11 11:31:13

  上一篇:go  唯品会敏捷Scrum实践2:产品开发、路线图与需求管理
  下一篇:go  解密区块链:从基础概念到技术实现的进阶攻略