[英]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.