Maven error “Failure to transfer…”
以下轉自StackOverflow(http://stackoverflow.com/questions/5074063/maven-error-failure-to-transfer),親測可用。This worked for me in Windows as well.
- Locate the {user}/.m2/repository (Using Juno /Win7 here)
- In the Search field in upper right of window, type ".lastupdated". Windows will look through all subfolders for these files in the directory. (I did not look through cache.)
- Remove them by Right-click > Delete (I kept all of the lastupdated.properties).
- Then go back into Eclipse, Right-click on the project and select Maven > Update Project. I selected to "Force Update of Snapshots/Releases". Click Ok and the dependencies finally resolved correctly.
posted on 2016-09-02 15:52 軟件工程實踐者 閱讀(182) 評論(0) 編輯 收藏 所屬分類: 軟件設計