安装Eclipse Mars.2的谷歌插件时出错

时间:2017-02-20 16:57:01

标签: eclipse eclipse-mars google-plugin-eclipse

我在Eclipse上安装google插件时出现以下错误

An error occurred while collecting items to be installed
session context was:(profile=C__Users_adu_eclipse_jee-mars_eclipse, phase=org.eclipse.equinox.internal.p2.engine.phases.Collect, operand=, action=).
No repository found containing: osgi.bundle,org.apache.commons.io,2.4.0
No repository found containing: osgi.bundle,org.eclipse.m2e.archetype.common,1.6.3.20160209-1444
No repository found containing: osgi.bundle,org.eclipse.m2e.core,1.6.3.20160209-1446
No repository found containing: osgi.bundle,org.eclipse.m2e.core.ui,1.6.3.20160209-1446
No repository found containing: osgi.bundle,org.eclipse.m2e.discovery,1.6.3.20160209-1446
No repository found containing: osgi.bundle,org.eclipse.m2e.editor,1.6.3.20160209-1446
No repository found containing: osgi.bundle,org.eclipse.m2e.editor.xml,1.6.3.20160209-1446
No repository found containing: osgi.bundle,org.eclipse.m2e.jdt,1.6.3.20160209-1446
No repository found containing: osgi.bundle,org.eclipse.m2e.jdt.ui,1.6.3.20160209-1446
No repository found containing: osgi.bundle,org.eclipse.m2e.launching,1.6.3.20160209-1446
No repository found containing: osgi.bundle,org.eclipse.m2e.lifecyclemapping.defaults,1.6.3.20160209-1446
No repository found containing: osgi.bundle,org.eclipse.m2e.maven.indexer,1.6.3.20160209-1444
No repository found containing: osgi.bundle,org.eclipse.m2e.maven.runtime,1.6.3.20160209-1444
No repository found containing: osgi.bundle,org.eclipse.m2e.maven.runtime.slf4j.simple,1.6.3.20160209-1444
No repository found containing: osgi.bundle,org.eclipse.m2e.model.edit,1.6.3.20160209-1446
No repository found containing: osgi.bundle,org.eclipse.m2e.profiles.core,1.6.3.20160209-1446
No repository found containing: osgi.bundle,org.eclipse.m2e.profiles.ui,1.6.3.20160209-1446
No repository found containing: osgi.bundle,org.eclipse.m2e.refactoring,1.6.3.20160209-1446
No repository found containing: osgi.bundle,org.eclipse.m2e.scm,1.6.3.20160209-1446
No repository found containing: org.eclipse.update.feature,org.eclipse.m2e.feature,1.6.3.20160209-1446

2 个答案:

答案 0 :(得分:0)

听起来您没有在偏好设置>中检查过火星更新网站安装/更新>可用的软件站点。您应该有一个指向http://download.eclipse.org/releases/mars的网站,并带有复选标记。

答案 1 :(得分:0)

我遇到了同样的问题,并且可以通过在"可用软件站点"中添加以下repo来解决它:

http://download.eclipse.org/technology/m2e/releases

这解决了您正在展示的m2e的所有无存储库错误。