我在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能够联系存储库来检查新文件,为什么它不能从这些存储库下载这些文件呢?或者错误消息意味着完全不同的东西?


当前回答

我帮助解决了以下问题:

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

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

其他回答

也许,我处理这个bug的经验会被某些人(包括我自己)所需要。:))。

所以,我可以在这里提到的答案中添加一件事。我的意思是在选项中使用后面的“/”符号,因为在我的例子中使用它不起作用。但是当我删除了。eclipse/org.eclipse.oomph。P2 /cache和。eclipse/org.eclipse.oomph。设置/缓存dirs(名称是相对于主目录给出的),然后用“/”完成众所周知的过程,它开始工作。

尝试安装谷歌应用程序引擎SDK,并收到类似的错误。 没有一个答案对我有用。 我注意到下载大约停留在999K,而完整下载大约100MB。

在尝试了六、七次之后,问题自己解决了:) 所以如果这些对你都不起作用…至少试几次,可能服务器负载过重:)

从2018年年中开始,我就有同样的问题。执行搜索时,自2011年以来已报告此问题。 我很惊讶有人为此提出了变通办法。不幸的是,它们对我不起作用,目前唯一的解决方案似乎是完全重新安装Eclipse。作为这里得到最多好评的建议,许多建议都是相互矛盾的,这意味着尝试错误的猜测。

除了这些变通方法,恕我直言,这需要一个解决方案。我们现在都2019年了,肯定有办法解决这个反复出现的问题吧?怎么可能没有一个简单的修复,即如果repo URL没有找到:跳过并继续下一个URL /更新(不中止为严重错误和阻止任何其他更新)?

正如Mauro所说:“您必须删除并重新添加Eclipse项目更新站点,以便重新计算其元数据。”-作为解决方案

在我的案例中,唯一的解决方案是手动安装(插件的页面解释了如何从Eclipse的帮助菜单中安装它,作为一种替代方案,是手动解压缩)。