错误提示为:
Failure to transfer org.apache.maven.plugins:maven-compiler-plugin:pom:2.0.2 fromhttp://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 去本地目录下找到文件夹: {user}/.m2/repository (比如我的是:C:\Users\Andy\.m2\repository)
2 在windows的右上角有个搜索框,输入搜索关键词: .lastupdated.properties
3 找到所有的文件删掉
4 回到eclipse 右键项目--Maven > Update Project 选择 Force Update of Snapshots/Releases 即可。