jdk8生成javadoc报错的解决

maven-javadoc-plugin 插件生成报 Error decoding percent encoded characters

需增加 <additionalparam>-Xdoclint:none</additionalparam> 配置,增加execution的,可能不起效。

<build>
    <plugins>
        <plugin>
            <groupId>org.apache.maven.plugins</groupId>
            <artifactId>maven-javadoc-plugin</artifactId>
            <version>2.9.1</version>
            <configuration>
                <encoding>UTF-8</encoding>
                <aggregate>true</aggregate>
                <charset>UTF-8</charset>
                <docencoding>UTF-8</docencoding>
                <additionalparam>-Xdoclint:none</additionalparam>
            </configuration>
        </plugin>
    </plugins>
</build>

参考资料

https://www.cnblogs.com/dubingxin/p/10715110.html