在安装Eclipse Mars.2的Google插件时发生错误



我在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

听起来好像您没有在 persiness> install/update>可用软件网站中检查火星更新站点。您应该有一个站点指向http://download.eclipse.org/releases/mars,并带有一个检查标记。

我遇到了相同的问题,并且能够通过在"可用软件站点"中添加以下存储库来解决它:

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

这解决了您显示的M2E的所有无存储库错误。

最新更新