MC百科社群

标题: MCREATOR2023.4.52316崩溃求解决 [打印本页]

作者: ChrisMC    时间: 2023-12-29 18:04
标题: MCREATOR2023.4.52316崩溃求解决
本帖最后由 ChrisMC 于 2023-12-31 08:32 编辑

MCREATOR2023.4.52316崩溃

[spoiler=点击查看崩溃报告]
  1. Executing Gradle task: eclipse
  2. Build info: MCreator 2023.4.52316, forge-1.20.1, 64-bit, 15998 MB, Windows 11, JVM 17.0.9, JAVA_HOME: C:\Program Files\Pylo\MCreator\jdk, started on: 2023-12-29-17:59:35

  3. org.gradle.tooling.GradleConnectionException: Could not install Gradle distribution from 'https://services.gradle.org/distributions/gradle-8.1.1-bin.zip'.
  4. at org.gradle.tooling.internal.consumer.DistributionFactory$ZippedDistribution.getToolingImplementationClasspath(DistributionFactory.java:135)  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:160)  at org.gradle.tooling.internal.consumer.connection.LazyConsumerActionExecutor.run(LazyConsumerActionExecutor.java:142)  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.AbstractManagedExecutor$1.run(AbstractManagedExecutor.java:47)  at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)  at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)  at java.base/java.lang.Thread.run(Thread.java:840) Caused by: javax.net.ssl.SSLHandshakeException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
  5. at java.base/sun.security.ssl.Alert.createSSLException(Alert.java:131)  at java.base/sun.security.ssl.TransportContext.fatal(TransportContext.java:378)  at java.base/sun.security.ssl.TransportContext.fatal(TransportContext.java:321)  at java.base/sun.security.ssl.TransportContext.fatal(TransportContext.java:316)  at java.base/sun.security.ssl.CertificateMessage$T13CertificateConsumer.checkServerCerts(CertificateMessage.java:1357)  at java.base/sun.security.ssl.CertificateMessage$T13CertificateConsumer.onConsumeCertificate(CertificateMessage.java:1232)  at java.base/sun.security.ssl.CertificateMessage$T13CertificateConsumer.consume(CertificateMessage.java:1175)  at java.base/sun.security.ssl.SSLHandshake.consume(SSLHandshake.java:396)  at java.base/sun.security.ssl.HandshakeContext.dispatch(HandshakeContext.java:480)  at java.base/sun.security.ssl.HandshakeContext.dispatch(HandshakeContext.java:458)  at java.base/sun.security.ssl.TransportContext.dispatch(TransportContext.java:201)  at java.base/sun.security.ssl.SSLTransport.decode(SSLTransport.java:172)  at java.base/sun.security.ssl.SSLSocketImpl.decode(SSLSocketImpl.java:1510)  at java.base/sun.security.ssl.SSLSocketImpl.readHandshakeRecord(SSLSocketImpl.java:1425)  at java.base/sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:455)  at java.base/sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:426)  at java.base/sun.net.www.protocol.https.HttpsClient.afterConnect(HttpsClient.java:589)  at java.base/sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(AbstractDelegateHttpsURLConnection.java:187)  at java.base/sun.net.www.protocol.http.HttpURLConnection.followRedirect0(HttpURLConnection.java:2922)  at java.base/sun.net.www.protocol.http.HttpURLConnection.followRedirect(HttpURLConnection.java:2831)  at java.base/sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1927)  at java.base/sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1589)  at java.base/sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream(HttpsURLConnectionImpl.java:224)  at org.gradle.wrapper.Download.downloadInternal(Download.java:129)  at org.gradle.wrapper.Download.download(Download.java:109)  at org.gradle.tooling.internal.consumer.DistributionInstaller$AsyncDownload$1.run(DistributionInstaller.java:182) Caused by: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
  6. at java.base/sun.security.validator.PKIXValidator.doBuild(PKIXValidator.java:439)  at java.base/sun.security.validator.PKIXValidator.engineValidate(PKIXValidator.java:306)  at java.base/sun.security.validator.Validator.validate(Validator.java:264)  at java.base/sun.security.ssl.X509TrustManagerImpl.checkTrusted(X509TrustManagerImpl.java:231)  at java.base/sun.security.ssl.X509TrustManagerImpl.checkServerTrusted(X509TrustManagerImpl.java:132)  at java.base/sun.security.ssl.CertificateMessage$T13CertificateConsumer.checkServerCerts(CertificateMessage.java:1341)  ... 21 more
  7. Caused by: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
  8. at java.base/sun.security.provider.certpath.SunCertPathBuilder.build(SunCertPathBuilder.java:148)  at java.base/sun.security.provider.certpath.SunCertPathBuilder.engineBuild(SunCertPathBuilder.java:129)  at java.base/java.security.cert.CertPathBuilder.build(CertPathBuilder.java:297)  at java.base/sun.security.validator.PKIXValidator.doBuild(PKIXValidator.java:434)  ... 26 more

  9. TASK EXECUTION FAILED
  10. Task completed in less than a second
复制代码

[/spoiler]

作者: cabala    时间: 2024-1-1 09:16
看起来是被墙了,下载不了Gradle distribution,科学上网或者想办法设置镜像源应该能够解决
作者: ChrisMC    时间: 2024-1-5 16:23
cabala 发表于 2024-1-1 09:16
看起来是被墙了,下载不了Gradle distribution,科学上网或者想办法设置镜像源应该能够解决 ...

我知道,但是我现在找不到免费好用的科学上网
有什么镜像设置方法吗?我我试过gradle全局设置,貌似对mcreator没用
作者: cabala    时间: 2024-1-5 18:43
我挂着梯子试了一下,不知道为什么也下不了。干脆用IDEA或者Eclipse之类的平台开发吧,或者尝试降降版本号




欢迎光临 MC百科社群 (https://bbs.mcmod.cn/) MC百科|最大的MineCraft中文模组百科