Gradle Worker Daemon failed to run. [Execution failed for task: ':neoFormRecompile']

Started by ScattTheCat on

Topic category: Help with Minecraft modding (Java Edition)

Joined Mar 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Gradle Worker Daemon failed to run. [Execution failed for task: ':neoFormRecompile']

I was working on a forge 1.19.2 mod for Java Edition which mainly added tools, however it was on an older version (I don't remember which it was), and now I am unable to open the workspace after updating to the newest one. I tried deleting the Gradle folder in .mcreator in my user folder, but that didn't do anything, just make the process longer (still failed). Can someone suggest a fix?

Executing Gradle task: idePostSync
Build info: MCreator 2024.1.18518, neoforge-1.20.4, 64-bit, 8033 MB, Windows 11, JVM 17.0.10, JAVA_HOME: C:\Program Files\Pylo\MCreator\jdk, started on: 2024-05-06-21:09:24

> Task :cacheLauncherMetadata UP-TO-DATE
> Task :cacheVersionManifest1.20.4 UP-TO-DATE
> Task :cacheVersionExecutableClient1.20.4 UP-TO-DATE
> Task :cacheVersionExecutableServer1.20.4 UP-TO-DATE
> Task :cacheVersionMappingsClient1.20.4 UP-TO-DATE
> Task :cacheVersionMappingsServer1.20.4 UP-TO-DATE
> Task :neoFormForgesAccessTransformerProvider_script_neoforge.cfg UP-TO-DATE
> Task :neoFormForgesAccessTransformerProvideraccesstransformer.cfg UP-TO-DATE
> Task :neoFormListLibraries
> Task :neoFormStripClient UP-TO-DATE
> Task :neoFormExtractServer UP-TO-DATE
> Task :neoFormStripServer UP-TO-DATE
> Task :neoFormMerge UP-TO-DATE
> Task :neoFormMergeMappings UP-TO-DATE
> Task :neoFormRename
> Task :neoFormApplyForgesAccessTransformer UP-TO-DATE
> Task :neoFormUserAccessTransformerProvideraccesstransformer.cfg UP-TO-DATE
> Task :neoFormApplyUserAccessTransformer UP-TO-DATE
> Task :neoFormDecompile
> Task :neoFormInject
> Task :neoFormPatch
> Task :neoFormPatchUserDev
> Task :neoFormApplyOfficialMappings
> Task :create1.20.4ClientExtraJar UP-TO-DATE
> Task :selectRawArtifactNet.minecraft_client_1.20.4_client-extra UP-TO-DATE
> 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 4m 13s
26 actionable tasks: 8 executed, 18 up-to-date

BUILD FAILED
Task completed in 4 minutes and 14 seconds

Joined Apr 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Klemen, AtI have the same…
Sun, 06/02/2024 - 11:48

Klemen, AtI have the same problem. What is written there, I double-checked everything, but the neoformRecomplie error remained. 

Joined Oct 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Have same issue. Try to…
Mon, 06/17/2024 - 21:20

Have same issue. Try to build mod with cmd ('gradlew build'), and then open it with MCreator.

Joined Jul 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Bullfighter, have the same…
Wed, 07/03/2024 - 19:42

Bullfighter, have the same issue, what exactly do you mean build the mod with cmd? 

Joined Feb 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
How,Bullfighter ?
Fri, 08/30/2024 - 09:19

How,Bullfighter

?