軟件工程實踐者

          統計

          留言簿

          友情鏈結

          閱讀排行榜

          評論排行榜

          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 軟件工程實踐者 閱讀(182) 評論(0)  編輯  收藏 所屬分類: 軟件設計

          主站蜘蛛池模板: 本溪市| 克拉玛依市| 杂多县| 衡水市| 闵行区| 定边县| 马龙县| 伊金霍洛旗| 新龙县| 红原县| 巴东县| 阳曲县| 中宁县| 靖边县| 浠水县| 闽清县| 溧水县| 甘泉县| 县级市| 韶关市| 七台河市| 同仁县| 准格尔旗| 安阳县| 托里县| 凌海市| 七台河市| 衡阳市| 湘阴县| 自治县| 西充县| 财经| 天镇县| 岚皋县| 印江| 图木舒克市| 淄博市| 景德镇市| 卢湾区| 宁陵县| 安图县|