简体   繁体   English

指定的Gradle安装目录似乎不包含Gradle发行版

[英]The specified Gradle installation directory does not appear to contain a Gradle distribution

I use Eclipse for JavaEE developer, version 4.5.1 (Mars.1) with Gradle plug-in, Gradle buildship plugin. 我将Eclipse for JavaEE开发人员版本4.5.1(Mars.1)与Gradle插件Gradle buildship插件一起使用。 This is my settings: 这是我的设置:

在此输入图像描述

I create new Spring starter project (Spring Boot), then I face this error: 我创建一个新的Spring入门项目(Spring Boot),然后遇到此错误:

在此输入图像描述

Error message: 错误信息:

The specified Gradle installation directory does not appear to contain a Gradle distribution 指定的Gradle安装目录似乎不包含Gradle发行版

Please help me resolve this problem. 请帮助我解决此问题。 Thank you! 谢谢!

I'm a bit late, but I a very had a similar issue - Essentially for me, when I updated the gradle path in the UI I did not see the change reflected in .settings/org.eclipse.buildship.core.prefs 我来晚了,但我遇到了一个类似的问题-从本质上来说,当我更新UI中的gradle路径时,我没有看到更改反映在.settings / org.eclipse.buildship.core.prefs中

When I updated the the Gradle path in Eclipse to the correct one I would get the old path in the error message. 当我将Eclipse中的Gradle路径更新为正确的路径时,我会在错误消息中得到旧路径。

To resolve the issue, I had to change the gradle build distribution path in org.eclipse.buildship.core.prefs in the .settings folder through windows. 要解决此问题,我必须通过Windows在.settings文件夹中的org.eclipse.buildship.core.prefs中更改gradle构建分发路径。

Updated the incorrect path (to the gradle-3.4.1 folder) and the issue seemed to be resolved. 更新了错误的路径(到gradle-3.4.1文件夹),该问题似乎已解决。

在gradle包装器更改分发URL中最新的...它将得到解决

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 Grails 3.0.1在Eclipse中添加显示错误指定的目录似乎不是Grails安装 - Grails 3.0.1 add in Eclipse show error Specified directory does not appear to be a Grails installation 该项目可能正在使用不包含“compileSdkVersion()”方法的 Gradle 版本 - The project may be using a version of Gradle that does not contain the method 'compileSdkVersion()' Gradle:主机名不能包含空格 - Gradle :Hostname may not contain blanks 重装系统后“指定的Tomcat安装目录不存在” - “The specified Tomcat installation directory does not exist” after reinstalling system Eclipse gradle 错误:无法使用 Gradle 分发运行生成操作 - Eclipse gradle error: Could not run build action using Gradle distribution Coudnot安装Gradle发行版-Eclipse-Liferay - Coudnot Install Gradle distribution - eclipse- Liferay 指定的 JRE 安装不存在 - The specified JRE installation does not exist Gradle:错误:包不存在 - Gradle: error: package does not exist Eclipse 无法识别 gradle 依赖项 - Eclipse does not recognize gradle dependencies Eclipse - 无法从“https://services.gradle.org/distributions/gradle-2.1-bin.zip”安装 Gradle 发行版 - Eclipse -Could not install Gradle distribution from 'https://services.gradle.org/distributions/gradle-2.1-bin.zip'
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM