architectury / architectury-loom

A Gradle plugin to setup environments for Fabric, Forge, NeoForge and Quilt modding.
https://docs.architectury.dev/loom/introduction
MIT License
115 stars 41 forks source link

[1.21 Fabric/NeoForge] Error when running "genSources" #239

Open Infinituum17 opened 2 months ago

Infinituum17 commented 2 months ago

Architect Plugin: 3.4.159 Architectury Loom: 1.6.411

Every time I run "genSources" I get this error:

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':common:genSourcesWithCfr'.
> class net.fabricmc.loom.util.gradle.WorkerDaemonClientsManagerHelper tried to access method 'void org.gradle.workers.internal.WorkerDaemonClientsManager.selectIdleClientsToStop(org.gradle.api.Transformer)' (net.fabricmc.loom.util.gradle.WorkerDaemonClientsManagerHelper is in unnamed module of loader org.gradle.internal.classloader.VisitableURLClassLoader$InstrumentingVisitableURLClassLoader @5dd8cb1b; org.gradle.workers.internal.WorkerDaemonClientsManager is in unnamed module of loader org.gradle.initialization.MixInLegacyTypesClassLoader @c05fddc)
qb42 commented 1 month ago

I was having the same problem. Did you change the gradle wrapper version? If so, try changing it back to 8.8, that worked for me.