解决maven工程报错
错误背景:用myeclipse10 新建Web Project 勾选add maven support,创建工程后,pom.xml报错如下
Could not calculate build plan: Failure to transfer org.apache.maven.plugins:maven-surefire-plugin:pom:2.7.1 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-surefire-plugin:pom:2.7.1 from/to central (http://repo1.maven.org/maven2): Access denied to http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-surefire-plugin/2.7.1/maven-surefire-plugin-2.7.1.pom. Error code 407, Proxy Authentication Required
查询关键字 :Plugin org.apache.maven.plugins:maven-compiler-plugin:2.3.2、
解决思路:缺少对应的jar包、更新maven仓库、更换为自己下载maven
最终解决:更换本地maven
1、搭建配置本地maven
下载地址:


被折叠的 条评论
为什么被折叠?



