我在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 Oxygen上安装了Spring IDE。在检查更新期间,它将发现更新,然后它将失败,并出现上述错误。

然后我转到Eclipse市场,单击Installed选项卡,注意到Spring没有出现(它以前在那里,现在已经安装了)。

然后我搜索Spring IDE (Tools),点击install,然后它通知一些包已经安装,只需要更新。

在完成Spring Tools的安装并重新启动后,我可以检查更新并完成正常的软件更新。

其他回答

2019 Eclipse/CCS

在尝试了上面描述的许多技巧之后,我注意到Edwin landwealths的这篇文章

简而言之,就是添加臭名昭著的“/”尾,并将“http”更改为“https”。这立即解决了我的问题。

我帮助解决了以下问题:

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

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

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

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

关于Oxygen,请参阅Eclipse社区论坛:

“在我的案例中,Oxygen更新了Buidship的URL为: http://download.eclipse.org/buildship/updates/e46/releases/2.x

注意:e46是Neon版本https://github.com/eclipse/buildship/blob/master/docs/user/Installation.md

一旦我更新URL到氧气版本(e47): http://download.eclipse.org/buildship/updates/e47/releases/2.x

更新成功”

我帮助解决了以下问题:

进入帮助->软件更新,然后选择可用软件选项卡,然后单击管理站点按钮 使用Export按钮将站点导出到bookmarks.xml文件 在您最喜欢的文本编辑器中打开bookmarks.xml文件,并在任何缺少“/”的网站url后添加一个“/”或删除末尾。保存更改。 回到Eclipse中的Manage Sites窗口,选择所有的站点并单击Remove按钮 现在,单击Import并加载编辑过的bookmarks.xml文件