• 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>

  • 相关阅读:
    P1342 请柬
    P1186 玛丽卡
    Scala 中下划线的用法
    IDEA2017 maven Spark HelloWorld项目(本地断点调试)
    Spark内存管理详解
    Spark基础知识
    scala基本语法
    分布式锁的一点理解
    Redis并发问题
    redis集群原理
  • 原文地址:https://www.cnblogs.com/zhjh256/p/6928542.html
Copyright © 2020-2023  润新知