部署工件时,我从 Maven javadoc 插件中收到这个奇怪的错误
C:\Users\oomsa\dev\eclipse\chemspot\src\main\java\org\u_compare\shared\label\penn\function\text\TTL_Type.java:60: warning - @generated is an unknown tag.
C:\Users\oomsa\dev\eclipse\chemspot\src\main\java\org\u_compare\shared\label\penn\function\text\TTL_Type.java:24: warning - @generated is an unknown tag.
javadoc: error - Exception processing overview.
javadoc: error - java.lang.IllegalArgumentException: Comparison method violates its general contract!
Command line was: "C:\Program Files\Java\jdk1.7.0_65\jre\..\bin\javadoc.exe" @options @argfile
Refer to the generated Javadoc files in 'C:\Users\oomsa\dev\eclipse\chemspot\target\apidocs' dir.
at org.apache.maven.plugin.javadoc.AbstractJavadocMojo.executeJavadocCommandLine(AbstractJavadocMojo.java:5043)
at org.apache.maven.plugin.javadoc.AbstractJavadocMojo.executeReport(AbstractJavadocMojo.java:1990)
at org.apache.maven.plugin.javadoc.JavadocJar.execute(JavadocJar.java:181)
... 21 more
[ERROR]
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
它仅针对特定项目执行此操作,而不针对其他项目。可能出了什么问题?