I tried to delete the entire gradle file, checking the internet connection and searched for everything for how to solve it, but how do I fix this problem?
Executing
Gradle task: eclipse
Build
info: MCreator 2020.4.32115, forge-1.15.2, 64-bit, 7813 MB, Windows 7, JVM
1.8.0_252, JAVA_HOME: C:\Users\Administrator\Desktop\User\MC\Minecraft
mods creator\MCreator\jdk
FAILURE:
Build failed with an exception.
*
What went wrong:
A
problem occurred configuring root project 'item_exchanger'.
>
Could not resolve all artifacts for configuration ':classpath'.
> Could not download gson.jar (com.google.code.gson:gson:2.8.5)
> Could not get resource
'https://jcenter.bintray.com/com/google/code/gson/gson/2.8.5/gson-2.8.5…'.
> Could not GET
'https://jcenter.bintray.com/com/google/code/gson/gson/2.8.5/gson-2.8.5…'.
> sun.security.validator.ValidatorException: PKIX path building
failed: sun.security.provider.certpath.SunCertPathBuilderException: unable
to find valid certification path to requested target
> Could not download guava.jar (com.google.guava:guava:26.0-jre)
> Could not get resource
'https://jcenter.bintray.com/com/google/guava/guava/26.0-jre/guava-26.0-…'.
> Could not GET
'https://jcenter.bintray.com/com/google/guava/guava/26.0-jre/guava-26.0-…'.
> 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 46s
BUILD
FAILED
Task
completed in 50741 milliseconds
Can you please tell me how to fix it? This error has occured for about 3 weeks already
Issue comments
PKIX path building
failed: sun.security.provider.certpath.SunCertPathBuilderException: unable
to find valid certification path to requested target
https://mcreator.net/support/knowledgebase -> Gradle: ValidatorException: PKIX path building failed
And why can I succeed in making Add-on workspace setup but not Java mod?
It is a fundamentally different setup. Add-ons are not Java based
And why can I succeed in making Add-on workspace setup but not Java mod?