$ ./gradlew dokka
Starting a Gradle Daemon, 2 stopped Daemons could not be reused, use --status for details
java.lang.NoClassDefFoundError: Could not initialize class org.codehaus.groovy.vmplugin.v7.Java7
at org.codehaus.groovy.vmplugin.VMPluginFactory.<clinit>(VMPluginFactory.java:43)
I suspect it has to do with a mismatched Java version:
Copy code
$ java -version
java version "1.8.0_281"
Java(TM) SE Runtime Environment (build 1.8.0_281-b09)
Java HotSpot(TM) 64-Bit Server VM (build 25.281-b09, mixed mode)
Any advice?
Ellen Spertus
04/16/2021, 9:31 PM
It looks like upgrading gradle fixed it. Now I just have to fix all the dokka warnings. 😄