How to resolve “javadoc: warning - Multiple sources of package comments found for package a.b.c”?

喜你入骨 提交于 2019-12-07 04:20:45

问题


I am very much outdated, but I have just upgraded my project to use JDK 1.5 from JDK 1.4, and now when running mvn javadoc:javadoc, I encounter the following javadoc warnings:

[WARNING] javadoc: warning - Multiple sources of package comments found for package "com.a"
[WARNING] javadoc: warning - Multiple sources of package comments found for package "com.b"
[WARNING] javadoc: warning - Multiple sources of package comments found for package "com.c"
[WARNING] javadoc: warning - Multiple sources of package comments found for package "com.a"

What do I need to do to fix them? Has anything changed from JDK 1.4 to 1.5?

Thanks!


回答1:


This thread in the Oracle forums discusses this.

Maybe you need a new version of maven?



来源:https://stackoverflow.com/questions/4788637/how-to-resolve-javadoc-warning-multiple-sources-of-package-comments-found-fo

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!