Topic category: Troubleshooting, bugs, and solutions
Executing Gradle task: eclipse
Build info: MCreator 2022.1.20510, forge-1.18.2, 64-bit, 3999 MB, Windows 10, JVM 17.0.1, JAVA_HOME: C:\Program Files\Pylo\MCreator\jdk, started on: 2022-06-29-19:53:54
> Configure project :
Error getting artifact: net.minecraft:client:1.18.2:mappings@txt from MinecraftRepo
javax.net.ssl.SSLHandshakeException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
at java.base/sun.security.ssl.Alert.createSSLException(Alert.java:131)
at java.base/sun.security.ssl.TransportContext.fatal(TransportContext.java:370)
at java.base/sun.security.ssl.TransportContext.fatal(TransportContext.java:313)
at java.base/sun.security.ssl.TransportContext.fatal(TransportContext.java:308)
at java.base/sun.security.provider.certpath.SunCertPathBuilder.engineBuild(SunCertPathBuilder.java:126)
at java.base/java.security.cert.CertPathBuilder.build(CertPathBuilder.java:297)
at java.base/sun.security.validator.PKIXValidator.doBuild(PKIXValidator.java:434)
... 88 more
FAILURE: Build failed with an exception.
* What went wrong:
A problem occurred configuring root project '2'.
> Could not resolve all files for configuration ':_compileJava_1'.
> Could not resolve net.minecraft:client:1.18.2.
Required by:
project :
> Could not resolve net.minecraft:client:1.18.2.
> Could not get resource 'https://libraries.minecraft.net/net/minecraft/client/1.18.2/client-1.18…'.
> Could not HEAD 'https://libraries.minecraft.net/net/minecraft/client/1.18.2/client-1.18…'.
> No such host is known (libraries.minecraft.net)
* 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 3m 32s
BUILD FAILED
Task completed in 3 minutes and 37 seconds
I have tried almost all the solutions from other forms and troubleshoot list but still not working
This issue is literally already documented, go to Forum/Troubleshooting/Common Gradle issues or whatever it's called
It's Forum > Troubleshooting > Gradle setup and build errors