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


当前回答

安装最新的STS,导出其站点列表并导入到您的站点中。

其他回答

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

上面的一些解决方案解决了我的一些错误……似乎在一段时间后更新连接只是被损坏,没有银弹。通过市场管理更新(Help > marketplace > 'show updates')让我缩小了依赖失败的包。

以下是我的尝试(摘自上面的帖子):

将软件站点的HTTPS切换为HTTP 以管理员身份运行Eclipse “禁用”明显过时的软件网站 “启用”所有软件站点 在软件站点网址的末尾添加反斜杠 卸载和重新安装有问题的软件

尽管尝试了这里的建议,我仍然留下了一些Mylyn wikitext错误

用于JavaScript和Web开发人员的Eclipse IDE

版本:2019-09 R (4.13.0) Build id: 20190917-1200

我所做的是:

我去了窗口>首选项>安装/更新>可用的软件网站,然后为每个启用的网站,我在URL的末尾添加了一个/(如果它还没有),然后按@Hunternif答案单击重新加载。但是问题仍然存在。 然后我关闭了所有的软件网站,一个一个地重新启用,并运行更新,只保留那些有效的。在步骤2之后。问题解决了。现在我只启用了不给出错误和更新工作的更新网站。

求助→安装新软件→这里取消勾选“安装期间联系所有更新站点以查找所需软件”

Eclipse将提示内容未经授权或类似的内容。忽略它,继续。那么一切都会好的。

至少这个技巧解决了我类似这样的问题:

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.emf,2.6.0.v20120917-0436 No repository found
containing: osgi.bundle,org.eclipse.emf.ant,2.7.0.v20120917-0436 No
repository found containing:
osgi.bundle,org.eclipse.emf.codegen,2.8.0.v20120917-0436 No repository
found containing:
osgi.bundle,org.eclipse.emf.codegen.ecore,2.8.1.v20120917-0436 No
repository found containing:
osgi.bundle,org.eclipse.emf.codegen.ecore.ui,2.8.0.v20120917-0436 No
repository found containing:
osgi.bundle,org.eclipse.emf.codegen.ui,2.6.0.v20120917-0436 No
repository found containing:
osgi.bundle,org.eclipse.emf.common,2.8.0.v20120911-0500 No repository
found containing:
osgi.bundle,org.eclipse.emf.common.ui,2.7.0.v20120917-0436 No
repository found containing:
osgi.bundle,org.eclipse.emf.converter,2.5.0.v20120917-0436 No
repository found containing:
osgi.bundle,org.eclipse.emf.databinding,1.2.0.v20120917-0436 No
repository found containing:
osgi.bundle,org.eclipse.emf.databinding.edit,1.2.0.v20120917-0436 No
repository found containing:
osgi.bundle,org.eclipse.emf.ecore,2.8.1.v20120911-0500 No repository
found containing:
osgi.bundle,org.eclipse.emf.ecore.change,2.8.0.v20120911-0500 No
repository found containing:
osgi.bundle,org.eclipse.emf.ecore.change.edit,2.5.0.v20120917-0436 No
repository found containing:
osgi.bundle,org.eclipse.emf.ecore.edit,2.8.0.v20120917-0436 No
repository found containing:
osgi.bundle,org.eclipse.emf.ecore.editor,2.8.0.v20120917-0436 No
repository found containing:
osgi.bundle,org.eclipse.emf.ecore.xmi,2.8.0.v20120911-0500 No
repository found containing:
osgi.bundle,org.eclipse.emf.edit,2.8.0.v20120917-0436 No repository
found containing:
osgi.bundle,org.eclipse.emf.edit.ui,2.8.0.v20120917-0436 No repository
found containing:
osgi.bundle,org.eclipse.emf.exporter,2.6.0.v20120917-0436 No
repository found containing:
osgi.bundle,org.eclipse.emf.importer,2.7.0.v20120917-0436 No
repository found containing:
osgi.bundle,org.eclipse.emf.importer.ecore,2.6.0.v20120917-0436 No
repository found containing:
osgi.bundle,org.eclipse.emf.importer.java,2.6.0.v20120917-0436 No
repository found containing:
osgi.bundle,org.eclipse.emf.importer.rose,2.6.0.v20120917-0436 No
repository found containing:
osgi.bundle,org.eclipse.emf.mapping,2.7.0.v20120917-0436 No repository
found containing:
osgi.bundle,org.eclipse.emf.mapping.ecore,2.6.0.v20120917-0436 No
repository found containing:
osgi.bundle,org.eclipse.emf.mapping.ecore.editor,2.6.0.v20120917-0436
No repository found containing:
osgi.bundle,org.eclipse.emf.mapping.ecore2ecore,2.7.0.v20120917-0436
No repository found containing:
osgi.bundle,org.eclipse.emf.mapping.ecore2ecore.editor,2.5.0.v20120917-0436
No repository found containing:
osgi.bundle,org.eclipse.emf.mapping.ecore2xml,2.7.0.v20120917-0436 No
repository found containing:
osgi.bundle,org.eclipse.emf.mapping.ecore2xml.ui,2.6.0.v20120917-0436
No repository found containing:
osgi.bundle,org.eclipse.emf.mapping.ui,2.6.0.v20120917-0436 No
repository found containing:
osgi.bundle,org.eclipse.wst.common.project.facet.core,1.4.300.v201111030424
No repository found containing:
osgi.bundle,org.eclipse.wst.common.project.facet.ui,1.4.300.v201111030424
No repository found containing:
org.eclipse.update.feature,org.eclipse.emf.codegen.ecore,2.8.1.v20120917-0436
No repository found containing:
org.eclipse.update.feature,org.eclipse.emf.codegen.ecore.ui,2.8.0.v20120917-0436
No repository found containing:
org.eclipse.update.feature,org.eclipse.emf.codegen,2.8.0.v20120917-0436
No repository found containing:
org.eclipse.update.feature,org.eclipse.emf.codegen.ui,2.7.0.v20120917-0436
No repository found containing:
org.eclipse.update.feature,org.eclipse.emf.common,2.8.0.v20120911-0500
No repository found containing:
org.eclipse.update.feature,org.eclipse.emf.common.ui,2.7.0.v20120917-0436
No repository found containing:
org.eclipse.update.feature,org.eclipse.emf.converter,2.8.0.v20120917-0436
No repository found containing:
org.eclipse.update.feature,org.eclipse.emf.databinding.edit,1.2.0.v20120917-0436
No repository found containing:
org.eclipse.update.feature,org.eclipse.emf.databinding,1.2.0.v20120917-0436
No repository found containing:
org.eclipse.update.feature,org.eclipse.emf.ecore.edit,2.8.0.v20120917-0436
No repository found containing:
org.eclipse.update.feature,org.eclipse.emf.ecore.editor,2.8.0.v20120917-0436
No repository found containing:
org.eclipse.update.feature,org.eclipse.emf.ecore,2.8.1.v20120911-0500
No repository found containing:
org.eclipse.update.feature,org.eclipse.emf.edit,2.8.0.v20120917-0436
No repository found containing:
org.eclipse.update.feature,org.eclipse.emf.edit.ui,2.8.0.v20120917-0436
No repository found containing:
org.eclipse.update.feature,org.eclipse.emf,2.8.1.v20120917-0436 No
repository found containing:
org.eclipse.update.feature,org.eclipse.emf.mapping.ecore.editor,2.7.0.v20120917-0436
No repository found containing:
org.eclipse.update.feature,org.eclipse.emf.mapping.ecore,2.7.0.v20120917-0436
No repository found containing:
org.eclipse.update.feature,org.eclipse.emf.mapping,2.7.0.v20120917-0436
No repository found containing:
org.eclipse.update.feature,org.eclipse.emf.mapping.ui,2.7.0.v20120917-0436
No repository found containing:
org.eclipse.update.feature,org.eclipse.wst.common.fproj,3.4.0.v201202292300-377F8N8s735555393B7B

问题似乎是与窗口->首选项->可用软件网站中列出的过时网站。在这个窗口中,只需更新建造地点的位置。

对于建筑,不同版本的正确url可以从这个主站点找到: https://download.eclipse.org/buildship/updates/

对于特定版本,请继续向下导航,直到到达特定版本。 例如:https://download.eclipse.org/buildship/updates/e416/releases/3.x/

如需最新更新,请使用url https://download.eclipse.org/buildship/updates/latest/