1. 程式人生 > >MyEclipse建立maven專案異常

MyEclipse建立maven專案異常

首次建立一個簡單的maven專案之後pom.xml檔案第一行提示異常:

Failure to transfer org.apache:apache:pom:8 from http://repo1.maven.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:apache:pom:8 from/to central (http://repo1.maven.org/maven2): No response received after 60000

好像是說翻譯啥失敗了,根據之前自己的理解直接到maven的本地倉庫下搜尋lastUpdated,發現本地倉庫org\apache\apache\8下面有一個apache-8.pom.lastUpdated檔案,把這個檔案刪掉,然後重新回到MyEclipse右擊maven專案update一下就可以了。