Warning: file_get_contents(/data/phpspider/zhask/data//catemap/9/java/328.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Java 导入Maven项目_Java_Eclipse_Maven_Maven 2_Maven Plugin - Fatal编程技术网

Java 导入Maven项目

Java 导入Maven项目,java,eclipse,maven,maven-2,maven-plugin,Java,Eclipse,Maven,Maven 2,Maven Plugin,在更新所有软件包并尝试重新安装maven插件之后,我遇到了同样的问题 我无法导入该项目 错误消息是: "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.m

在更新所有软件包并尝试重新安装maven插件之后,我遇到了同样的问题

我无法导入该项目

错误消息是:

    "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"

转到本地存储库(.m2文件夹)并删除本地缓存。然后再次尝试导入您的项目。

能否共享所有pom.xml文件?