如何解决“javadoc:warning - 为包a.b.c找到的包注释的多个来源”?

时间:2011-01-25 00:02:07

标签: java maven warnings packages javadoc

我已经过时了,但我刚刚将项目升级为使用JDK 1.4中的JDK 1.5,现在运行mvn javadoc:javadoc时,遇到以下javadoc警告:

[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"

我需要做些什么才能修复它们?有什么变化从JDK 1.4到1.5?

谢谢!

1 个答案:

答案 0 :(得分:1)

thread in the Oracle forums讨论了这一点。

也许你需要一个新版本的maven?