我在使用Myeclipse碰見這個錯誤,我沒有用伺服,直接連接到maven中心。
ArtifactTransferException: Failure to transfer org.apache.hadoop:hadoop-core:jar:1.1.1 from http://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.hadoop:hadoop-core:jar:1.1.1 from/to central (http://repo.maven.apache.org/maven2): No response received after 60000
這句話的意思是:
對於這個包傳輸以本地倉庫的敗,解決不會重新試,直到mavne再改更新索引,或強制更新。
實際的解決辦法是:直接去本地倉庫,把這個1.1.1的目錄刪除掉(因爲包沒有下載下來),再次刷新你的項目就中以了,或者在你的項目上右擊,選擇maven--->update就可以了