0

我是 RapidClipse 的新手。我尝试运行它并收到此错误。

Errors occurred during the build.
Errors running builder 'Maven Project Builder' on project 'test2'.
Could not calculate build plan: Plugin org.apache.maven.plugins:maven-resources-plugin:2.6 or one of its dependencies could not be resolved: Failed to read artifact descriptor for org.apache.maven.plugins:maven-resources-plugin:jar:2.6
Plugin org.apache.maven.plugins:maven-resources-plugin:2.6 or one of its dependencies could not be resolved: Failed to read artifact descriptor for org.apache.maven.plugins:maven-resources-plugin:jar:2.6
Could not calculate build plan: Plugin org.apache.maven.plugins:maven-resources-plugin:2.6 or one of its dependencies could not be resolved: Failed to read artifact descriptor for org.apache.maven.plugins:maven-resources-plugin:jar:2.6
Plugin org.apache.maven.plugins:maven-resources-plugin:2.6 or one of its dependencies could not be resolved: Failed to read artifact descriptor for org.apache.maven.plugins:maven-resources-plugin:jar:2.6

请帮忙。

4

1 回答 1

3

RapidClipse 项目是使用 maven 插件构建的 maven 项目。“Maven Project Builder”本身使用了一些额外的插件,其中包括“maven-resources-plugin”。

如果本地存储库中不存在插件,maven 会在远程存储库中搜索它并尝试自动将其下载到本地存储库(默认位置:.m2/repository用户主目录中的文件夹)。

这个过程在这里失败。

您可以手动触发解析和下载过程:

  • 确保有有效的互联网连接,如有必要,代理设置正确。

  • 在 ProjectManagement 或 Project Explorer 中右键单击 Rapidclipse 项目,然后转到Maven-Update project

  • 激活复选框Force Update of Snapshots/Releases并完成对话框OK

之后,项目的构建过程应该可以工作。

于 2016-06-23T11:18:12.827 回答