Gradle issue in v2024.3

Started by CharacterNotFound on

Topic category: Troubleshooting, bugs, and solutions

Joined Jul 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Gradle issue in v2024.3

When upgrading to the new version 2024.3, I encountered a problem. Whenever I run a gradle task, the following error appears in the console: 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 org.gradle.process. internal.worker.WorkerProcessException: Failed to run Gradle Worker Daemon.

After this error, MCreator suggests clearing the Gradle cache or the entire Gradle folder, which does not help...


What I tried: 

Clear cache manually in gradle folder

Code regeneration and assembly Rebooting the workspace

PLEASE HELP

(Console screenshots: https://postimg.cc/KkmqcdVy https://postimg.cc/yWYQMCcm)

Joined Jul 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
@Klemen I don’t know why,…
Thu, 10/10/2024 - 14:53

@Klemen I don’t know why, but when I switched to neoforge version 1.21 everything started working perfectly. I was also amazed at the speed of Gradle tasks, everything became 3 times faster! Thank you very much