我在Linux上运行Eclipse的Helios EE包,我添加了颠覆性的插件,m2e Maven集成和Trac的Mylin连接器。在过去的几个星期里,我一直在尝试安装更新,每次我都收到这样的消息

No repository found containing <something or other>

最新的一个是

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.team.svn,0.7.9.I20110318-1700
No repository found containing: osgi.bundle,org.eclipse.team.svn.core,0.7.9.I20110523-1700
No repository found containing: osgi.bundle,org.eclipse.team.svn.help,0.7.9.I20110318-1700
No repository found containing: osgi.bundle,org.eclipse.team.svn.mylyn,0.7.9.I20110318-1700
No repository found containing: osgi.bundle,org.eclipse.team.svn.ui,0.7.9.I20110523-1700
No repository found containing: org.eclipse.update.feature,org.eclipse.team.svn,0.7.9.I20110523-1700
No repository found containing: org.eclipse.update.feature,org.eclipse.team.svn.mylyn,0.7.9.I20110523-1700
No repository found containing: org.eclipse.update.feature,org.eclipse.team.svn.resource.ignore.rules.jdt,0.7.9.I20110523-1700

这一切意味着什么,我该如何解决?如果Eclipse能够联系存储库来检查新文件,为什么它不能从这些存储库下载这些文件呢?或者错误消息意味着完全不同的东西?


当前回答

在我的例子中,我只在特定的更新站点和eclipse-java-mars-R中得到上述错误。其他更新站点允许我更新,并且,使用其他版本的Eclipse,我能够从更新站点安装,这给我的Java Mars R Eclipse带来了问题。

删除“/Users/myname/.eclipse/org.eclipse.oomph”目录下的缓存文件夹。P2解决了问题(我的同事,不是我,想出了这个解决方案)

其他回答

我帮助解决了以下问题:

Go to Help->Software Updates, then select the Available Software tab and click the Manage Sites button Use the Export button to export the sites to a bookmarks.xml file Open the bookmarks.xml file in your favorite text editor, and add a trailing “/” to any of the site urls which are missing the “/” or remove on the end. Save the changes. Back in the Manage Sites window within Eclipse, select all of the sites and click the Remove button Now, click Import and load in the edited bookmarks.xml file

是从这个链接截取的德文·希拉德的数字避难所

我有同样的问题,但在做更新。我通过

在“窗口->首选项->安装/更新->可用软件站点”中,标记导致问题的站点,然后点击“重新加载”按钮。

我在windows 10上也遇到了同样的问题。 我的eclipse版本是从eclipse站点下载的exe安装的。

我解决的问题是使用zip版本: http://www.eclipse.org/downloads/eclipse-packages/

Eclipse Kepler(至少)允许在首选项>安装/更新>可用软件站点对话框中特定地重新加载软件站点。

这是一个比上面解释的解决方案(添加后斜杠)更干净/更简单的解决方案,它对我来说很有效…

注意:在安装新软件对话框中也有这个对话框的链接。

其他的答案都不适合我(Windows 10, Eclipse Neon)。以管理员身份运行Eclipse解决了这个问题。