i was watching this video - https://www.youtube.com/watch?v=JFVFqZo5t5Q and at 10:15 he opened up eclipse with gradle using CMD when i tried this an error message came up saying:
FAILURE: Build failed with an exception.
- What went wrong:
A problem occurred configuring root project ‘Stuff’.
Could not resolve all artifacts for configuration ‘:classpath’.
Could not resolve net.minecraftforge.gradle:ForgeGradle:3.+.
Required by:
project :
Failed to list versions for net.minecraftforge.gradle:ForgeGradle.
Unable to load Maven meta-data from https://files.minecraftforge.net/maven/net/minecraftforge/gradle/ForgeGradle/maven-metadata.xml.
Could not get resource ‘https://files.minecraftforge.net/maven/net/minecraftforge/gradle/ForgeGradle/maven-metadata.xml’.
Could not GET ‘https://files.minecraftforge.net/maven/net/minecraftforge/gradle/ForgeGradle/maven-metadata.xml’.
sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
-
Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights. -
Get more help at https://help.gradle.org
BUILD FAILED in 8s
Please can somebody help me resolve this