gradle error marker: Could not run build action using connection to gradle distribution

Viewed 4158

I am trying to import existing Gradle project in Eclipse Java EE IDE and I got this error:

Could not run build action using connection to Gradle distribution 'https://services.gradle.org/distributions/gradle-4.4-bin.zip'.

Please help me out to solve this problem.

1 Answers

I had the same problem while following the Coursera course "Introduction to Software Testing".

To fix it, I had to manually configure the JAVA_HOME variable and install an older version of Eclipse instead of 2021-03 version (Try Eclipse Photon for example).

Also, check if the version of jdk you are using is compatible with your Gradle. For my case, I had to use jdk 8.

Links :

Related