MC百科社群

标题: Mcreator构建失败... [打印本页]

作者: Alpha_123    时间: 2024-7-19 11:37
标题: Mcreator构建失败...
我有一个 2023.1 中制作的1.19.4 forge mod,我最近在 2024.2 中将其升级到 1.20.6 neoforge,我遇到了以下问题:
Executing Gradle task: idePostSync
Build info: MCreator 2024.2.28714, neoforge-1.20.6, 64-bit, 16305 MB, Windows 10, JVM 21.0.3, JAVA_HOME: C:\Users\Alpha\Desktop\MCreator20242\jdk, started on: 2024-07-17-10:26:14

Calculating task graph as no cached configuration is available for tasks: idePostSync
> Task :cacheVersionManifest1.20.6
> Task :create1.20.6ClientExtraJar
> Task :selectRawArtifactNg_dummy_ng.net.minecraft_client_1.20.6_client-extra
> Task :neoFormListLibraries
> Task :cacheVersionExecutableClient1.20.6
> Task :neoFormStripClient
> Task :cacheVersionExecutableServer1.20.6
> Task :neoFormExtractServer
> Task :cacheVersionMappingsClient1.20.6
> Task :neoFormStripServer
> Task :cacheVersionMappingsServer1.20.6
> Task :neoFormMergeMappings
> Task :neoFormMerge
> Task :neoFormRename
> Task :neoFormDecompile
> Task :neoFormApplyForgesAccessTransformer
> Task :neoFormInject
> Task :neoFormPatch
> Task :neoFormPatchUserDev
> Task :neoFormApplyOfficialMappings
> Task :supplySourcesForneoFormJoined1.20.6-20240429.153634
> Task :selectSourceArtifactNg_dummy_ng.net.neoforged_neoforge_20.6.117
> Task :neoFormUnzipSources
> Task :neoFormRecompile
Error: Could not find or load main class worker.org.gradle.process.internal.worker.GradleWorkerMain
Caused by: java.lang.ClassNotFoundException: worker.org.gradle.process.internal.worker.GradleWorkerMain
> Task :neoFormRecompile FAILED
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':neoFormRecompile'.
> Failed to run Gradle Worker Daemon
> Process 'Gradle Worker Daemon 1' finished with non-zero exit value 1
* 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 15m 28s
24 actionable tasks: 24 executed
Configuration cache entry stored.

BUILD FAILED
Task completed in 15 minutes and 30 seconds

我已经尽可能排除了所有mcr官方帮助链接中的常见问题,手动下载了gradle,问题还是不断出现。麻烦大佬帮忙看一下,给出详细解决办法,谢谢!





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