一个maven项目的错误:CoreException: Could not calculate build plan: Plugin org.apache.maven.plugins:maven-compiler-plugin:

写点儿 发布于 2015/01/11 15:17
阅读 44K+
收藏 0

我把另外一台电脑上的正常的maven项目导入到我自己的myeclipse中时出现下面错误,不知道怎么回事,请大神指点:CoreException: Could not calculate build plan: Plugin org.apache.maven.plugins:maven-compiler-plugin:2.3.2 or one of its dependencies could not be resolved: Failed to read artifact descriptor for org.apache.maven.plugins:maven-compiler-plugin🏺2.3.2: ArtifactResolutionException: Failure to transfer org.apache.maven.plugins:maven-compiler-plugin:pom:2.3.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.3.2 from/to central (http://repo1.maven.org/maven2): null to http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-compiler-plugin/2.3.2/maven-compiler-plugin-2.3.2.pom

加载中
0
Conquer0101
Conquer0101

1、确认你电脑上MyEclipse有配置maven;

2、配置了maven,查看你maven的setting.xml,看看你的资源中央库的路径是否正确。

0
噜哥
噜哥
maven-compiler-plugin:2.3.2 或者 它的依赖 找不到。应该是 maven 没有正确配置
0
写点儿
写点儿

引用来自“Conquer0101”的评论

1、确认你电脑上MyEclipse有配置maven;

2、配置了maven,查看你maven的setting.xml,看看你的资源中央库的路径是否正确。

谢了!
0
逝水流炎
逝水流炎
中央库的路径配置是怎样的?
返回顶部
顶部