Eclipse(Spring Tool Suite)更新在被强制终止后失败

Eclipse (Spring Tool Suite) update failing after being forcefully terminated

我正在尝试将 Eclipse/Spring Tool Suite 更新到最新版本,但出现此错误:

Cannot complete the install because one or more required items could not be found.
Software currently installed: Spring Tool Suite 3.9.0.201707061903-RELEASE-e46 (org.springsource.sts.ide 3.9.0.201707061903-RELEASE-e46)
Missing requirement: Mylyn WikiText 3.0.13.20170711133400 (org.eclipse.mylyn.wikitext 3.0.13.20170711133400)
  requires 'package org.jsoup [1.7.0,2.0.0)' but it could not be found
Cannot satisfy dependency:
From: Mylyn WikiText Editors 3.0.13.201707111735 (org.eclipse.mylyn.wikitext.editors_feature.feature.group 3.0.13.201707111735)
To: org.eclipse.mylyn.wikitext [3.0.13.20170711133400]
Cannot satisfy dependency:
From: Mylyn WikiText 3.0.13.201707111735 (org.eclipse.mylyn.wikitext_feature.feature.group 3.0.13.201707111735)
To: org.eclipse.mylyn.wikitext.editors_feature.feature.group [3.0.13.201707111735]
Cannot satisfy dependency:
From: Spring Tool Suite 3.9.0.201707061903-RELEASE-e46 (org.springsource.sts.ide 3.9.0.201707061903-RELEASE-e46)
To: org.springsource.sts.package.feature.group [3.9.0.201707061903-RELEASE-e46]
Cannot satisfy dependency:
From: Spring Tool Suite Package 3.9.0.201707061903-RELEASE-e46 (org.springsource.sts.package.feature.group 3.9.0.201707061903-RELEASE-e46)
To: org.eclipse.mylyn.wikitext_feature.feature.group 0.0.0
OK

我之前强行终止了它(进程),因为它 frozen/not 在另一个更新 运行 后响应(我工作时它在后台 运行 然后一切只是冻结;所以我终止并重新启动 Eclipse 并重新开始工作)。现在我尝试的任何更新都失败并出现此错误。

有没有办法 "clean up" 文件夹并使其恢复工作状态?我试过查看 .metadata 文件夹、.snap 文件,但没有成功。我还尝试在 Eclipse 首选项的可用更新站点部分重新加载 Mylin 存储库。

在我看来,您似乎正在尝试将现有的 Eclipse/STS 安装更新为针对不同 Eclipse 基础平台版本的可能较新的 STS 版本 - 这不起作用,也不应该这样做。在更新现有 Eclipse/STS 安装时,您应该始终使用基础 Eclipse 版本和相应的更新站点。

例如,如果您在 Eclipse Neon.3 上安装了 STS 3.8.4,则应继续使用 Eclipse 4.6 的主要 STS 更新站点更新到较新的 STS 版本:http://dist.springsource.com/release/TOOLS/update/e4.6/. In that case, also take care that the main Eclipse update repo (http://download.eclipse.org/releases/neon) 已配置并在您的首选项中处于活动状态,因为可能会从该更新站点获取用于 STS 安装的某些组件(STS 需要一些 bundles/components,它们是 Eclipse 发布系列的一部分,但并不总是预安装在您安装的每个 Eclipse 包中下载 - 如果您从 Eclipse 开始并向其添加了 STS 插件)。

如果您从 http://spring.io/tools 下载了 STS 发行版,则您的 STS 安装中已经配置了该更新站点。例如,您可以继续使用它来更新到 STS 3.9.0。这会将 STS 组件更新到版本 3.9.0,但它不会将您的基本 Eclipse IDE 更新到 Eclipse Oxygen (4.7)。您的基本 Eclipse 版本将保持为 Neon.3。

如果您想升级到 Eclipse Oxygen 作为您的主要 IDE,您应该为 Eclipse Oxygen 发行版下载全新的 STS 3.9.0 并开始使用该全新安装。

这同样适用于旧版本。也许您有 Eclipse Mars (4.5) 运行(使用 STS 组件增强或来自 STS 发行版本身),并且您现在正尝试为 Eclipse 4.6 安装或更新到 Eclipse 3.9.0。不推荐这样做,而且很可能不起作用。请不要将更新的 Eclipse 版本的 STS 更新站点添加到现有的 STS 安装中。

希望这解释了细节并有所帮助!!!