Closed greenlaw110 closed 7 years ago
never mind, it is triggered by javadoc of one of my java source code. I've smashed it although I don't know which part exactly caused the trouble.
Two years later I've got the same issue and happened to read my own issue report. Just to document what happened this time for future reference:
The issue is caused by using {@link $...}
in the javadoc. Where $
is a class name. Somehow Markdown doclet is not able to handle that pattern.
Here is how to debug this kind of error:
run mvn javadoc:javadoc
to generate required javadoc scripts in target/site/apidoc
dir. You will get error, but that's okay
Add markdown doclet into your pom.xml
file:
<dependency>
<groupId>ch.raffael.markdown-doclet</groupId>
<artifactId>markdown-doclet</artifactId>
<version>${markdown-doclet.version}</version>
</dependency>
tools.jar
into your module dependencies:public class DebugJavaDoc {
public static void main(String[] args) {
String[] sa = {"@options", "@packages"};
com.sun.tools.javadoc.Main.execute(sa);
}
}
set the working directory in IDEA:
Set breakpoint in the error place and debug the class and then rock n roll!
I am building my project and encountered the following error:
Any idea?