閱讀1029 返回首頁    go 汽車大全


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  解密區塊鏈:從基礎概念到技術實現的進階攻略