Topic category: Troubleshooting, bugs, and solutions
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)
Clear gradle folder and make sure to reboot PC in between all steps precisely as explained at https://mcreator.net/wiki/gradle-setup-errors
@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