I have recently upgraded my project from Java 7 to 8. I have stumbled upon a number of error because of doclint feature for javadoc. error: tag not allowed here:
HTML Tag in java file:
<a name="ThpSslEnabled"></a>
I tried checking for conformance with W3C HTML standards for anchor tag, but did not find anything which could be helpful.
Are you using Maven or any other build software?
DocLint is enabled by default in Java 8, and will run a whole lot of checks before generating Javadocs. You need to turn this off for Java 8.
Check this answer: Maven is not working in Java 8 when JavaDoc tags are incomplete
<properties>
<additionalparam>-Xdoclint:none</additionalparam>
</properties>
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With