#58 maven plugin 0.9.7 results in ClassNotFoundExc...
# dokka
u
#58 maven plugin 0.9.7 results in ClassNotFoundException: com/sun/javadoc/DocErrorReporter [Kotlin/dokka] Issue created by AlmasB Steps to reproduce: change outputFormat to javadoc in maven plugin 0.9.7. Then
Copy code
mvn 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.