Task :genSourcesWithCfr Failed

Started by isobun on

Topic category: Help with MCreator software

Joined Mar 2026
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Task :genSourcesWithCfr Failed
Thu, 03/12/2026 - 14:15 (edited)

 

When i tried to create a new workspace using fabric generator, config fails.

heres the screenshot: 

screenshot

i arleady tried to clear %USERPROFILE%\.mcreator\gradle  and %USERPROFILE%\.gradle , but nothing changes.

Note:

  •  creating workspace using neoforge generator works fine
  •  my .mcreator and .gradle folders path contain non-ASCII symbols
  •  i arleady tried to add .mcreator/gradle path to %PATH%, but it not helped
  •  im bad at english

Log

Executing Gradle synchronization tasks

Build info: MCreator 2025.3.45720, fabric-1.21.8, 64-bit, 16175 MB, Windows 11, JVM 21.0.8, JAVA_HOME: C:\Program Files (x86)\mcreator\MCreator.2025.3.Windows.64bit\MCreator20253\jdk, started on: 2026-03-12-15:56:55

> Configure project :

Fabric Loom: 1.11.8

> Task :validateAccessWidener NO-SOURCE

> Task :genSourcesWithCfr

Decompile cache stats: 0 hits, 6105 misses

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 :genSourcesWithCfr FAILED

FAILURE: Build failed with an exception.

* What went wrong:

Execution failed for task ':genSourcesWithCfr'.

> There was a failure while executing work items

 > A failure occurred while executing net.fabricmc.loom.task.GenerateSourcesTask$DecompileAction

 > 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 generate a Build Scan (powered by Develocity).

> Get more help at https://help.gradle.org.

BUILD FAILED in 12s

1 actionable task: 1 executed

BUILD FAILED

Task completed in 12 seconds

 

Edited by isobun on Thu, 03/12/2026 - 14:15
Joined Aug 2016
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I'm the author and as I…
Fri, 03/13/2026 - 13:38

I'm the author and as I 3xplained dozens of times, try again untilt it works. I Can not do something about it. If it fails, try again. If it fails, try again. If it fails  try again. If it fails yet again, then give up and go touch some grass. It's good for your health :)

Joined Mar 2026
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
i hate java. my gradle home…
Mon, 03/16/2026 - 15:00

i hate java.

my gradle home path contain non-ASCII letters...

when i changed it... NOW WORKS FINE AAAAAAAHHH