

You can check which Root CA is in your trust store using the Java panel: if it is missing, then you get your explanation. The CA COMODO ECC Domain Validation Secure Server CA 2 is not valid.

This might be a self signed certificate (highly doubtful for ).The error unable to find valid certification path to requested target indicate that Eclipse failed to access the site using HTTPS because it can't recognize the certificate for various reasons: In gradle tasks tab -> navigate to the project -> expand build folder -> right click on build -> Select Run Gradle tasks. Since I had the same error at work, I think this would help:

However, if our installed version doesnt match with the projects version, well probably face many incompatibility problems. To build a Gradle-based project, we need to have Gradle installed in our machine. While the other answers works, it does not fix the core issue which might come back later. In this tutorial, well learn about Gradle Wrapper, an accompanying utility that makes it easier to distribute projects.
