Could not install Gradle distribution from 'https://services.gradle.org/distributions/gradle-2.7-bin.zip'

buildship
eclipse

(Vinod Puthenmadhom) #1

Getting error in eclipse while trying to add gradle nature to java project. Is https://services.gradle.org/distributions/gradle-2.7-bin.zip still available or should a newer gradle distribution should be used ?

Synchronize Gradle builds with workspace failed due to an error connecting to the Gradle build.
Could not install Gradle distribution from ‘https://services.gradle.org/distributions/gradle-2.7-bin.zip’.

sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
unable to find valid certification path to requested target
org.gradle.tooling.GradleConnectionException: Could not install Gradle distribution from ‘https://services.gradle.org/distributions/gradle-2.7-bin.zip’.
at org.gradle.tooling.internal.consumer.DistributionFactory$ZippedDistribution$1.call(DistributionFactory.java:137)
at org.gradle.tooling.internal.consumer.DistributionFactory$ZippedDistribution$1.call(DistributionFactory.java:125)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)