报错的解决方法"/>
创建Maven项目POM文件报错的解决方法
创建一个maven项目,一上来就报错:
Description Resource Path Location Type Could not calculate build plan: Failure to transfer org.apache.maven.plugins:maven-compiler-plugin:pom:2.0.2 from 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 (): No response received after 60000 ExampleProject Unknown Maven Problem
解决方法:
1、删除C:\Users\Bruce\.m2\repository\org\apache\maven\surefire\surefire\2.10
目录(这是我的目录,大家可以自己搜一下这个surefire目录)下的lastUpdated后缀的文件夹;
2、在eclipse里面右击project,选择Maven–>Update Project。
更多推荐
创建Maven项目POM文件报错的解决方法
发布评论