eclipse4.6 安装Spring Boot插件出现问题

Failure to transfer org.apache.maven.plugins:maven-compiler-plugin:pom:2.0.2 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.maven.plugins:maven-compiler-plugin:pom:2.0.2 from/to central (http://repo1.maven.org/maven2): No response received after 60000 ExampleProject Unknown Maven Problem

解决办法:

  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.
    参考 eclipse - Maven error "Failure to transfer..." - Stack Overflow
最后编辑于
©著作权归作者所有,转载或内容合作请联系作者
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。

推荐阅读更多精彩内容

  • PLEASE READ THE FOLLOWING APPLE DEVELOPER PROGRAM LICENSE...
    念念不忘的阅读 13,552评论 5 6
  • 其实最近突然变得矫情起来 感觉以前的朋友变化蛮大的 感叹时间真的会改变一个人很多 我们无法去计算大小 一直想找...
    大地的盐阅读 110评论 0 0
  • 唯一能羁绊我们的,不是环境,不是脚步,而恰恰是我们自己的内心。 心若是牢笼,处处为牢笼,宁静不在于环境,而在于内心...
    宛都君子阅读 1,116评论 0 1
  • 我没那么喜欢你了,虽然在街上偶尔会看到像你的背影我还是点起脚转了个弯最后还是忍住了,因为我知道不打扰是我最后的温柔...
    彭小猪阅读 651评论 3 1
  • 没有看过原著,误打误撞入了《三生三世十里桃林》的坑,好久没有一部剧让我如此心心念念,每日苦等那短短的两集。一开始是...
    一颗猕猴呆阅读 219评论 4 2