Topic category: Help with MCreator software
I launched MCreator(2019.5) then created a workspace.Everything is fine.But when I started to set up gradle project, Something goes wrong.It said MCreater Setup Failed.Then I tried again but it was not worked.I wonder why and I don't know whether it because of my country(China.).Here is the error
Executing gradle task: eclipse
Build info: MCreator 2019.5.51710, 1.14.4, 64-bit, 4012 MB, Windows 10, JVM 1.8.0_222, JAVA_HOME: C:\Users\mk\Saved Games\MC games\mods\Mod Maker\MCreator\jdk
Download https://jcenter.bintray.com/com/google/guava/guava/26.0-jre/guava-26.0-…
Download https://jcenter.bintray.com/org/apache/httpcomponents/httpclient/4.3.3/…
Download https://jcenter.bintray.com/org/apache/commons/commons-lang3/3.8.1/comm…
FAILURE: Build failed with an exception.
* What went wrong:
A problem occurred configuring root project 'WorkPlace'.
> Could not resolve all artifacts for configuration ':classpath'.
> 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-…'.
> Read timed out
> Could not download httpclient.jar (org.apache.httpcomponents:httpclient:4.3.3)
> Could not get resource 'https://jcenter.bintray.com/org/apache/httpcomponents/httpclient/4.3.3/…'.
> Read timed out
> Could not download commons-lang3.jar (org.apache.commons:commons-lang3:3.8.1)
> Could not get resource 'https://jcenter.bintray.com/org/apache/commons/commons-lang3/3.8.1/comm…'.
> Read timed out
* 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 2m 52s
BUILD FAILED
There are someplaces I spelled wrong...I wonder if you can understand some words.(For Example:workplace==workspace)
Thanks.
The solution to this problem and many other problems can be found in our knowledge base: https://mcreator.net/support/knowledgebase Please check the knowledge base before opening a new topic on the issue which has a known fix.
I read it but I don't understand...
https://mcreator.net/wiki/gradle-setup-errors#wiki-index-5
Executing
Gradle task: eclipse
Build
info: MCreator 2021.1.18117, forge-1.16.5, 64-bit, 6083 MB, Windows 10,
JVM 1.8.0_275, JAVA_HOME: C:\Program Files\Pylo\MCreator\jdk
org.gradle.tooling.GradleConnectionException:
Could not install Gradle distribution from
'https://services.gradle.org/distributions/gradle-6.8.1-all.zip'.
at
org.gradle.tooling.internal.consumer.DistributionFactory$ZippedDistribution.getToolingImplementationClasspath(
DistributionFactory.java:139
)
at
org.gradle.tooling.internal.consumer.loader.CachingToolingImplementationLoader.create(
CachingToolingImplementationLoader.java:41
)
at
org.gradle.tooling.internal.consumer.loader.SynchronizedToolingImplementationLoader.create(
SynchronizedToolingImplementationLoader.java:44
)
at
org.gradle.tooling.internal.consumer.connection.LazyConsumerActionExecutor.onStartAction(
LazyConsumerActionExecutor.java:161
)
at
org.gradle.tooling.internal.consumer.connection.LazyConsumerActionExecutor.run(
LazyConsumerActionExecutor.java:143
)
at
org.gradle.tooling.internal.consumer.connection.CancellableConsumerActionExecutor.run(
CancellableConsumerActionExecutor.java:45
)
at
org.gradle.tooling.internal.consumer.connection.ProgressLoggingConsumerActionExecutor.run(
ProgressLoggingConsumerActionExecutor.java:61
)
at
org.gradle.tooling.internal.consumer.connection.RethrowingErrorsConsumerActionExecutor.run(
RethrowingErrorsConsumerActionExecutor.java:38
)
at
org.gradle.tooling.internal.consumer.async.DefaultAsyncConsumerActionExecutor$1$1.run(
DefaultAsyncConsumerActionExecutor.java:67
)
at
org.gradle.internal.concurrent.ExecutorPolicy$CatchAndRecordFailures.onExecute(
ExecutorPolicy.java:64
)
at org.gradle.internal.concurrent.ManagedExecutorImpl$1.run(
ManagedExecutorImpl.java:48
)
at java.util.concurrent.ThreadPoolExecutor.runWorker(
ThreadPoolExecutor.java:1149
)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(
ThreadPoolExecutor.java:624
)
at
org.gradle.internal.concurrent.ThreadFactoryImpl$ManagedThreadRunnable.run(
ThreadFactoryImpl.java:56
)
at java.lang.Thread.run(
Thread.java:748
)
Caused
by: javax.net.ssl.SSLHandshakeException: PKIX path building failed:
sun.security.provider.certpath.SunCertPathBuilderException: unable to find
valid certification path to requested target
at sun.security.ssl.Alert.createSSLException(
Alert.java:131
)
at sun.security.ssl.TransportContext.fatal(
TransportContext.java:324
)
at sun.security.ssl.TransportContext.fatal(
TransportContext.java:267
)
at sun.security.ssl.TransportContext.fatal(
TransportContext.java:262
)
at
sun.security.ssl.CertificateMessage$T12CertificateConsumer.checkServerCerts(
CertificateMessage.java:654
)
at
sun.security.ssl.CertificateMessage$T12CertificateConsumer.onCertificate(
CertificateMessage.java:473
)
at sun.security.ssl.CertificateMessage$T12CertificateConsumer.consume(
CertificateMessage.java:369
)
at sun.security.ssl.SSLHandshake.consume(
SSLHandshake.java:377
)
at sun.security.ssl.HandshakeContext.dispatch(
HandshakeContext.java:444
)
at sun.security.ssl.HandshakeContext.dispatch(
HandshakeContext.java:422
)
at sun.security.ssl.TransportContext.dispatch(
TransportContext.java:182
)
at sun.security.ssl.SSLTransport.decode(
SSLTransport.java:149
)
at sun.security.ssl.SSLSocketImpl.decode(
SSLSocketImpl.java:1143
)
at sun.security.ssl.SSLSocketImpl.readHandshakeRecord(
SSLSocketImpl.java:1054
)
at sun.security.ssl.SSLSocketImpl.startHandshake(
SSLSocketImpl.java:394
)
at sun.net.www.protocol.https.HttpsClient.afterConnect(
HttpsClient.java:559
)
at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(
AbstractDelegateHttpsURLConnection.java:185
)
at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(
HttpURLConnection.java:1570
)
at sun.net.www.protocol.http.HttpURLConnection.getInputStream(
HttpURLConnection.java:1498
)
at sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream(
HttpsURLConnectionImpl.java:268
)
at org.gradle.wrapper.Download.downloadInternal(
Download.java:87
)
at org.gradle.wrapper.Download.download(
Download.java:67
)
at org.gradle.tooling.internal.consumer.DistributionInstaller$1.run(
DistributionInstaller.java:128
)
Caused
by: sun.security.validator.ValidatorException: PKIX path building failed:
sun.security.provider.certpath.SunCertPathBuilderException: unable to find
valid certification path to requested target
at sun.security.validator.PKIXValidator.doBuild(
PKIXValidator.java:456
)
at sun.security.validator.PKIXValidator.engineValidate(
PKIXValidator.java:323
)
at sun.security.validator.Validator.validate(
Validator.java:271
)
at sun.security.ssl.X509TrustManagerImpl.validate(
X509TrustManagerImpl.java:315
)
at sun.security.ssl.X509TrustManagerImpl.checkTrusted(
X509TrustManagerImpl.java:223
)
at sun.security.ssl.X509TrustManagerImpl.checkServerTrusted(
X509TrustManagerImpl.java:129
)
at
sun.security.ssl.CertificateMessage$T12CertificateConsumer.checkServerCerts(
CertificateMessage.java:638
)
... 18 more
Caused
by: sun.security.provider.certpath.SunCertPathBuilderException: unable to
find valid certification path to requested target
at sun.security.provider.certpath.SunCertPathBuilder.build(
SunCertPathBuilder.java:141
)
at sun.security.provider.certpath.SunCertPathBuilder.engineBuild(
SunCertPathBuilder.java:126
)
at java.security.cert.CertPathBuilder.build(
CertPathBuilder.java:280
)
at sun.security.validator.PKIXValidator.doBuild(
PKIXValidator.java:451
)
... 24 more
TASK
EXECUTION FAILED
Task
completed in less than a second
can somme one help me pls
This usually happens if your antivirus interferes with your SSL connections
Me too I can fix it sometimes but sometimes it can't be fixed