首页 > 解决方案 > 无法在 eclipse kepler 上安装 spring tools 4 (sts 4) - 缺少要求

问题描述

我正在尝试使用 Eclipse 市场在 Eclipse Kepler 中安装 Spring Tool Suite 4。

尝试安装时出现以下错误:

无法完成安装,因为找不到一项或多项所需项目。正在安装的软件:Cloud Foundry Manifest Language Server Feature 4.1.0.201812201040 (org.springframework.tooling.cloudfoundry.manifest.ls.feature.feature.group 4.1.0.201812201040) 缺少要求:Eclipse IDE(孵化)0.7 的语言服务器协议客户端。 0.201809061243 (org.eclipse.lsp4e 0.7.0.201809061243) 需要 'bundle org.eclipse.core.runtime 3.12.0' 但找不到无法满足依赖:来自:Cloud Foundry Manifest Language Server Feature 4.1.0.201812201040 (org.springframework .tooling.cloudfoundry.manifest.ls.feature.feature.group 4.1.0.201812201040)到:org.eclipse.lsp4e 0.6.0

我尝试安装语言服务器协议,但在市场或谷歌中找不到他

我的 Eclipse 版本是 Kepler Service Release 2

Java 版本:Java 8

Spring插件链接:https ://marketplace.eclipse.org/content/spring-tools-4-spring-boot-aka-spring-tool-suite-4

标签: javaspringeclipse

解决方案


错误是说org.eclipse.core.runtime需要至少3.12.0版本的插件。Eclipse Kepler 只有这个插件的 3.9 版本。

所以 Eclipse Kepler 对于这个安装来说太旧了(它已经发布了 10 个版本,并且已经过时了 6 年)。您需要为此代码使用最新版本的 Eclipse - Eclipse 2019-09 是当前版本。


推荐阅读