安装Maven Eclipse 3.8超时连接存储库错误

时间:2017-05-04 12:28:05

标签: eclipse maven time installation out

我安装了

Eclipse Platform

Version: 3.8.1
Build id: M20120914-1540

我想安装Maven。

我按照以下步骤操作:

Help->Install New Software
M2Eclipse" and Location as http://download.eclipse.org/technology/m2e/releases/1.3

我在安装软件中收到以下错误

An error occurred while collecting items to be installed
session context was:(profile=PlatformProfile, phase=org.eclipse.equinox.internal.p2.engine.phases.Collect, operand=, action=).
Unable to connect to repository http://download.eclipse.org/technology/m2e/releases/1.3/1.3.1.20130219-1424/plugins/org.eclipse.m2e.archetype.common_1.3.1.20130219-0923.jar
Connection timed out: connect
Unable to connect to repository http://download.eclipse.org/technology/m2e/releases/1.3/1.3.1.20130219-1424/plugins/org.eclipse.m2e.maven.indexer_1.3.1.20130219-0923.jar
Connection timed out: connect
Unable to connect to repository http://download.eclipse.org/technology/m2e/releases/1.3/1.3.1.20130219-1424/plugins/org.eclipse.m2e.maven.runtime_1.3.1.20130219-0923.jar
Connection timed out: connect
Unable to connect to repository http://download.eclipse.org/technology/m2e/releases/1.3/1.3.1.20130219-1424/plugins/org.jboss.netty_3.2.5.Final-20130219-0923.jar
Connection timed out: connect

配置代理是

enter image description here

EDITED

我在日志中看到

 http://download.eclipse.org/technology/m2e/releases/1.4/1.4.1.20140328-1905/plugins/org.eclipse.m2e.maven.runtime_1.4.1.20140328-1501.jar failed on Connection timed out: connect. Retry attempt 0 started
!STACK 0
java.net.ConnectException: Connection timed out: connect

我是否必须更改eclipse代理配置?

1 个答案:

答案 0 :(得分:0)

尝试通过浏览器访问插件网站。如果您能够看到该页面,请在eclipse中更改代理设置以使用动态代理。

P.S。 :如果更改设置,则需要重新启动。