是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
请帮忙。
答案 0 :(得分:2)
RapidClipse项目是使用maven插件构建的maven项目。 The Maven Project Builder'本身使用了一些额外的插件,其中包括" maven-resources-plugin"。
如果插件在本地存储库中不存在,maven会在远程存储库中搜索它,并尝试将其自动下载到本地存储库(用户主目录中的默认位置:.m2/repository
文件夹)。 / p>
这个过程在这里失败了。
您可以手动触发解析和下载过程:
确保有可用的互联网连接,如有必要,代理设置正确。
在ProjectManagement或Project Explorer中右键单击Rapidclipse项目,然后转到Maven
- Update project
激活复选框Force Update of Snapshots/Releases
并使用OK
之后,项目的构建过程应该有效。