user
02/26/2016, 11:19 PMmvn pre-site
<plugin>
<groupId>org.jetbrains.dokka</groupId>
<artifactId>dokka-maven-plugin</artifactId>
<version>0.9.7</version>
<executions>
<execution>
<phase>pre-site</phase>
<goals>
<goal>dokka</goal>
</goals>
<configuration>
<outputFormat>javadoc</outputFormat>
</configuration>
</execution>
</executions>
</plugin>
Manual addition of $JAVA_HOME/lib/tools.jar to classpath fixes it, so I'm assuming the dependency was not fatjar for some reason.