'Eclipse gradle error: Could not run build action using Gradle distribution
My build.gradle:
plugins {
id 'org.springframework.boot' // version defined in setting.gradle file
id 'io.spring.dependency-management' // version defined in setting.gradle file
id 'java'
}
presents the following error message:
Could not run build using Gradle distribution 'https://services.gradle.org/distributions/gradle-6.6.1-bin.zip'
I have changed the initial gradle-wrapper.properties distribution url (6.6.1) to a one working with other projects in the same eclipse workspace (7.1.1):
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-7.1.1-bin.zip
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
but when I Refresh Gradle Project, the error remains.
I haven't been able to find the solution in posts describing similar issues.
My setting.gradle pluginManagement looks like this:
pluginManagement {
plugins {
id 'org.springframework.boot' version '2.3.5.RELEASE'
id 'io.spring.dependency-management' version '1.0.11.RELEASE'
id 'java'
}
}
And the version of Eclipse that I am running is:
- Version: 2018-12 (4.10.0)
- Build id: 20181214-0600
Solution 1:[1]
This worked for me:
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|---|
| Solution 1 | j.xavier.atero |




