更新Maven插件后启动报Could not calculate build plan

Could not calculate build plan: Failure to transfer org.apache.maven.plugins:maven-resources-plugin:pom:2.4.3 from http://mvn.hz.netease.com/artifactory/repo was cached in the local repository, resolution will not be reattempted until the update interval of artifactory has elapsed or updates are forced. Original error: Could not transfer artifact org.apache.maven.plugins:maven-resources-plugin:pom:2.4.3 from/to artifactory (http://mvn.hz.netease.com/artifactory/repo): connection timed out prisback_mvn Unknown Maven Problem

解决方法:
在plugins的目录下删除 .lastUpdated结尾的文件,然后clean就可以了

如果该目录下没有.lastUpdated文件,可搜索C:\Documents and Settings\Administrator\.m2下

 

你可能感兴趣的:(maven)