软件工程实践者

统计

留言簿

友情链结

阅读排行榜

评论排行榜

Maven error “Failure to transfer…”

以下转自StackOverflow(http://stackoverflow.com/questions/5074063/maven-error-failure-to-transfer),亲测可用。


This worked for me in Windows as well.

  1. Locate the {user}/.m2/repository (Using Juno /Win7 here)
  2. 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.)
  3. Remove them by Right-click > Delete (I kept all of the lastupdated.properties).
  4. 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 软件工程实践者 阅读(167) 评论(0)  编辑  收藏 所属分类: 软件设计


只有注册用户登录后才能发表评论。


网站导航: