Recently, I have been learning Spring source code, but the compilation has not been passed. I have read the online posts and there is no similar problem. I am really confused, and the error is as follows:
> Task: spring – beans: compileGroovy FAILED error: cannot find or unable to load the main class worker.org.gradle.process.internal.worker.GradleWorkerMain reasons: java.lang.ClassNotFoundException: worker.org.gradle.process.internal.worker.GradleWorkerMain Execution failed for task ‘:spring-beans:compileGroovy’. > Failed to run Gradle Worker Daemon > Process ‘Gradle Worker Daemon 1’ finished with non-zero exit value 1
My Spring version is: 5.3.6-snapshot
Gradle: 6.8.1
The JDK: 11