首页 > 代码库 > eclipse maven Errors while generating javadoc on java8
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 <) 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
声明:以上内容来自用户投稿及互联网公开渠道收集整理发布,本网站不拥有所有权,未作人工编辑处理,也不承担相关法律责任,若内容有误或涉及侵权可进行投诉: 投诉/举报 工作人员会在5个工作日内联系你,一经查实,本站将立刻删除涉嫌侵权内容。