MavenbuilderrorCouldnotcalculatebuildplanPlugin...

编程

近期,我在进行maven install时,发生了如下异常:

Errors occurred during the build.

Errors running builder "Maven Project Builder" on project "myProject".

Could not calculate build plan: Plugin org.apache.maven.plugins:maven-resources-plugin:3.0.2 or one of its dependencies could not be resolved: Failed to read artifact descriptor for org.apache.maven.plugins:maven-resources-plugin:jar:3.0.2

Plugin org.apache.maven.plugins:maven-resources-plugin:3.0.2 or one of its dependencies could not be resolved: Failed to read artifact descriptor for org.apache.maven.plugins:maven-resources-plugin:jar:3.0.2

Could not calculate build plan: Plugin org.apache.maven.plugins:maven-resources-plugin:3.0.2 or one of its dependencies could not be resolved: Failed to read artifact descriptor for org.apache.maven.plugins:maven-resources-plugin:jar:3.0.2

Plugin org.apache.maven.plugins:maven-resources-plugin:3.0.2 or one of its dependencies could not be resolved: Failed to read artifact descriptor for org.apache.maven.plugins:maven-resources-plugin:jar:3.0.2

解决方案比较简单,需要清空仓库,重新下载。不过重新下载推荐使用阿里云的镜像:将maven源改为国内阿里云镜像

P.S.:这是一个系列性的错误,类似的错误几乎都可以这么处理。

以上是 MavenbuilderrorCouldnotcalculatebuildplanPlugin... 的全部内容, 来源链接: utcz.com/z/511403.html

回到顶部