eclipse maven Errors while generating javadoc on java8

Posted 太白的技术博客

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了eclipse maven Errors while generating javadoc on java8相关的知识,希望对你有一定的参考价值。

With JDK 8, we are unable to get Javadoc unless your tool meets the standards of doclint. Some of its rules are:

no self-closed html tags, such as <br /> or <a id="x" />
no unclosed HTML tags, such as <ul> without matching </ul>
no invalid HTML end tags, such as </br>
no invalid HTML attributes, based on doclint‘s interpretation of W3C HTML 4.01
no duplicate HTML id attribute
no empty HTML href attribute
no incorrectly nested headers, such as class documentation must have <h3>, not <h4>
no invalid HTML tags, such as List<String> (where you forgot to escape using &lt;)
no broken @link references
no broken @param references, they must match the actual parameter name
no broken @throws references, the first word must be a class name

We don‘t get any output if it breaks any of the above rule. It throws errors.

We can turn off doclint by configuring the following propery for javadoc plugin

<additionalparam>-Xdoclint:none</additionalparam>

以上是关于eclipse maven Errors while generating javadoc on java8的主要内容,如果未能解决你的问题,请参考以下文章

eclipse+maven 在svn下载项目后出现很多的error 如下图.请高手帮忙看下.谢谢

eclipse安装后出现Errors(2 items)

eclipse Errors during build

org.eclipse.jgit.api.errors.InvalidRemoteException:无效远程:原点-Spring Cloud

引起:org.eclipse.jgit.api.errors.RefNotFoundException: Ref master 无法解析

解决Eclipse报errors running builder ‘javascript validator’ on project