eclipse Spring Tool Suite (STS) - 无法使用 Gradle (Buildship) 导入

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/41641459/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-09-19 23:21:28  来源:igfitidea点击:

Spring Tool Suite (STS) - Can not import using Gradle (Buildship)

javaeclipsespringgradle

提问by BustedSanta

Please, let me start by saying that I am aware of the following question: Spring STS does not work with Gradle. However, the answer does not resolve my issue.

请让我首先说我知道以下问题:Spring STS 不适用于 Gradle。但是,答案并不能解决我的问题。

Here is information about my configuration and the issue.

这是有关我的配置和问题的信息。

Java: java version "1.8.0_111"

Java:Java 版本“1.8.0_111”

OS: Win 10 Home

操作系统:Win 10 Home

Eclipse: Eclipse Java EE IDE for Web Developers. Version: Neon Release (4.6.0) Build id: 20160613-1800

Eclipse:面向 Web 开发人员的 Eclipse Java EE IDE。版本:Neon Release (4.6.0) 版本号:20160613-1800

Software installed in Eclipse:

Eclipse中安装的软件:

enter image description here

在此处输入图片说明

I also installed the legacy extension as advised in the question mentioned above. enter image description here

我还按照上述问题中的建议安装了旧版扩展。 在此处输入图片说明

Issue:

问题:

I try to create a new Gradle (buildship) via the Spring Getting Started Content but I keep getting the error: "Can not import using Gradle (Buildship) because Buildship Gradle Tooling is not installed. You can install it from Eclipse Marketplace".

我尝试通过 Spring Getting Started Content 创建一个新的 Gradle (buildship),但我不断收到错误:“无法使用 Gradle (Buildship) 导入,因为未安装 Buildship Gradle Tooling。您可以从 Eclipse Marketplace 安装它”。

enter image description here

在此处输入图片说明

I am unable to resolve this issue. Any suggestions how to resolve this?

我无法解决这个问题。任何建议如何解决这个问题?

Thank you!

谢谢!

采纳答案by hemu

This has been resolved. See the issue update at https://github.com/spring-projects/spring-ide/issues/90

这已得到解决。请参阅https://github.com/spring-projects/spring-ide/issues/90 上的问题更新

To install STS update from snapshot site, got to Help > Install New Software and add the update site https://dist.springframework.org/snapshot/IDE/nightlyas mentioned in the issue ticket.

要从快照站点安装 STS 更新,请转到“帮助”>“安装新软件”并添加更新站点https://dist.springframework.org/snapshot/IDE/nightly,如问题单中所述。

Worked for me.

对我来说有效。