2

我是新手。我试图将 maven 插件添加到 eclipse(indigo)。我面临的问题是,当我尝试使用 URL http://download.eclipse.org/releases/indigo使用“帮助-> 安装新软件”添加插件时,下载过程开始然后停止并出现错误

An error occurred while collecting items to be installed
session context was:(profile=epp.package.jee, phase=org.eclipse.equinox.internal.p2.engine.phases.Collect, operand=, action=).
No repository found containing: osgi.bundle,org.eclipse.emf,2.6.0.v20120130-0943
No repository found containing: osgi.bundle,org.eclipse.emf.ant,2.7.0.v20120130-0943
No repository found containing: osgi.bundle,org.eclipse.emf.codegen,2.6.0.v20120130-0943
No repository found containing: osgi.bundle,org.eclipse.emf.codegen.ecore,2.7.0.v20120130-0943
No repository found containing: osgi.bundle,org.eclipse.emf.codegen.ecore.ui,2.7.0.v20120130-0943
No repository found containing: osgi.bundle,org.eclipse.emf.codegen.ui,2.6.0.v20120130-0943
No repository found containing: osgi.bundle,org.eclipse.emf.common,2.7.0.v20120127-1122
No repository found containing: osgi.bundle,org.eclipse.emf.common.ui,2.7.0.v20120130-0943
No repository found containing: osgi.bundle,org.eclipse.emf.converter,2.5.0.v20120130-0943
No repository found containing: osgi.bundle,org.eclipse.emf.databinding,1.2.0.v20120130-0943
...........
...........

此外,当我尝试使用http://download.eclipse.org/technology/m2e/releases安装插件时,安装会卡住 48%,并且在很长一段时间后它再次显示错误消息:

An error occurred while collecting items to be installed
session context was:(profile=epp.package.jee,   phase=org.eclipse.equinox.internal.p2.engine.phases.Collect, operand=, action=).
Multiple problems occurred while downloading.
Unable to read repository at http://download.eclipse.org/technology/m2e/releases /1.0/1.0.100.20110804-1717/plugins /org.eclipse.m2e.archetype.common_1.0.100.20110804-1717.jar.
Read timed out
Unable to read repository at http://download.eclipse.org/technology/m2e/releases /1.0/1.0.100.20110804-1717/plugins /org.eclipse.m2e.archetype.common_1.0.100.20110804-1717.jar.
Read timed out
Multiple problems occurred while downloading.
Unable to read repository at http://download.eclipse.org/technology/m2e/releases /1.0/1.0.100.20110804-1717/plugins/org.eclipse.m2e.maven.indexer_1.0.100.20110804-1717.jar.
Read timed out
Unable to read repository at http://download.eclipse.org/technology/m2e/releases  /1.0/1.0.100.20110804-1717/plugins/org.eclipse.m2e.maven.indexer_1.0.100.20110804-1717.jar.
Read timed out
............
............

请建议我正在使用的安装过程是否有问题。

还建议是否有其他方法可以添加“maven plugin for eclipse”。

谢谢

4

1 回答 1

1

在安装 m2e 之前检查安装期间联系所有更新站点以找到所需的软件选项。

于 2012-06-20T01:33:37.163 回答