Warning: file_get_contents(/data/phpspider/zhask/data//catemap/4/maven/5.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
如何向eclipse添加maven插件_Eclipse_Maven_Eclipse Plugin_M2eclipse - Fatal编程技术网

如何向eclipse添加maven插件

如何向eclipse添加maven插件,eclipse,maven,eclipse-plugin,m2eclipse,Eclipse,Maven,Eclipse Plugin,M2eclipse,我是马文的新手。我试图将maven插件添加到eclipse(indigo)。我面临的问题是,当我尝试使用URL“帮助->安装新软件”添加插件时,下载过程开始,然后停止,并出现错误 An error occurred while collecting items to be installed session context was:(profile=epp.package.jee, phase=org.eclipse.equinox.internal.p2.engine.phases.Colle

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

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
...........
...........
另外,当我尝试使用安装插件时,安装被卡住了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插件for eclipse”


谢谢

检查在安装过程中联系所有更新站点,以便在安装m2e之前找到所需的软件选项