您好我在创建maven项目时遇到此错误,请任何人帮忙。
步骤 - >创建一个Java项目 - >右键单击并选择配置 - >转换为Maven项目
Errors occurred during the build.
Errors running builder 'Maven Project Builder' on project 'Test'.
Could not calculate build plan: Plugin org.apache.maven.plugins:maven-resources-plugin:2.5 or one of its dependencies could not be resolved: Failed to read artifact descriptor for org.apache.maven.plugins:maven-resources-plugin:jar:2.5
Plugin org.apache.maven.plugins:maven-resources-plugin:2.5 or one of its dependencies could not be resolved: Failed to read artifact descriptor for org.apache.maven.plugins:maven-resources-plugin:jar:2.5
Could not calculate build plan: Plugin org.apache.maven.plugins:maven-resources-plugin:2.5 or one of its dependencies could not be resolved: Failed to read artifact descriptor for org.apache.maven.plugins:maven-resources-plugin:jar:2.5
Plugin org.apache.maven.plugins:maven-resources-plugin:2.5 or one of its dependencies could not be resolved: Failed to read artifact descriptor for org.apache.maven.plugins:maven-resources-plugin:jar:2.5
提前致谢
答案 0 :(得分:0)
这是在Eclipse中吗?如果是这样,请检查"窗口 - 首选项 - Maven - 安装"下的Maven安装首选项。要从命令行匹配运行maven的行为,您应该在此处添加外部maven安装。