【发布时间】:2017-05-24 10:54:09
【问题描述】:
使用 jdk8、Maven 3.3.3、Eclipse Mars Release (4.5.0)。
尝试将 Maven 项目导入 Eclipse(导入“现有 Maven 项目”)。报错:CoreException: Could not calculate build plan: Plugin org.apache.maven.plugins:maven-compiler-plugin:2.3.2 or one of its dependencies could not be resolved: Failed to read artifact descriptor for org.apache.maven.plugins:maven-compiler-plugin:jar:2.3.2: ArtifactResolutionException: Failure to transfer org.apache.maven.plugins:maven-compiler-plugin:pom:2.3.2 from https://repo.maven.apache.org/maven2
已尝试安装此插件 - 无论我尝试“安装新软件” - 都不起作用。 还尝试添加几个 M2E 连接器。我现在有:
maven-remote-resources-plugin 的 m2e 连接器
Maven 依赖插件的 m2e 连接器
如何解决这个问题?谢谢
【问题讨论】:
-
问题就在那里,你没看到吗?转移失败...
-
@Eugene 不明白你的意思,转移失败-但是为什么?
-
很多原因,可能是该节点上的 maven central 已关闭,可能是您遇到了超时等。
-
我已经尝试了很多次-总是相同的结果-它发生得很快-所以我的猜测是-可能不会超时。可能是网关问题 - 不知道。但现在完全被难住了/卡住了
-
不是我的网络问题。在其他几个网络(包括 Sbux)中尝试过 - 完全相同的错误。我没有 settings.xml(至少找不到它) - 所以还有什么可以调试的。
标签: eclipse eclipse-plugin java-8 maven-3 m2eclipse