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

时间:2017-07-24 09:33:48

标签: eclipse spring-tool-suite

我正在尝试将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

我之前已经强行终止它(进程),因为它在另一个更新运行后被冻结/没有响应(它在后台运行,因为我工作然后一切都冻结了;所以我终止并重新启动Eclipse并返回上班)。现在我尝试的任何更新都会因此错误而失败。

有没有办法“清理”文件夹并使其恢复工作状态?我已经尝试查看.metadata文件夹.snap文件,但没有成功。我还尝试在Eclipse Preferences的Available Update Sites部分重新加载Mylin存储库。

1 个答案:

答案 0 :(得分:1)

在我看来,您正在尝试将现有的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/。在这种情况下,还要注意主要的Eclipse更新存储库(http://download.eclipse.org/releases/neon)已在您的首选项中配置并处于活动状态,因为可能会从该更新站点获取STS安装的某些组件(STS需要一些包/组件,是Eclipse发行版的一部分,但并不总是预先安装在您下载的每个Eclipse包中 - 如果您从Eclipse开始并添加了STS插件的话。)

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

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

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

希望这能解释细节并提供帮助!!!