You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Marek Romanowski <ma...@gmail.com> on 2014/03/29 21:57:44 UTC

maven-javadoc-plugin - Javadoc generation problem

Hi,
while building project I've found this kind of error:

[INFO]
------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 02:06 min (Wall Clock)
[INFO] Finished at: 2014-03-29T21:42:40+01:00
[INFO] Final Memory: 27M/140M
[INFO]
------------------------------------------------------------------------
[ERROR] Failed to execute goal
org.apache.maven.plugins:maven-javadoc-plugin:2.9.1:jar (attach-javadocs)
on project web: MavenReportException: Error while creating archive:
[ERROR] Exit code: 1 - javadoc: error -
com.sun.tools.doclets.internal.toolkit.util.DocletAbortException:
com.sun.tools.javac.code.Symbol$CompletionFailure: class file for
javax.interceptor.InterceptorBinding not found
[ERROR]
[ERROR] Command line was: /usr/lib/jvm/java-8-oracle/jre/../bin/javadoc
@options @packages
[ERROR]
[ERROR] Refer to the generated Javadoc files in
'/home/marek/w/idea/clinic/web/target/apidocs' dir.
[ERROR] -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e
switch.
[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
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the
command
[ERROR]   mvn <goals> -rf :web

I tried to google, but nothing helpful found.

I did not change any dependencies (project or maven) from last successful
build. I made changes in code, but none of them refer to InterceptorBinding
directly. Could someone help me how to track what could be cause of this
problem? I will post more data if it will help, but I'm not sure what
should I post.

I'm not sure is it related to this plugin - please correct me if I should
post it on another mailing list.

Build environment:

Ubuntu 13.10

marek@tuna-mobile:~/w/idea/clinic$ java -version
java version "1.8.0"
Java(TM) SE Runtime Environment (build 1.8.0-b132)
Java HotSpot(TM) 64-Bit Server VM (build 25.0-b70, mixed mode)

marek@tuna-mobile:~/w/idea/clinic$ mvn -version
Java HotSpot(TM) 64-Bit Server VM warning: ignoring option
MaxPermSize=512m; support was removed in 8.0
Apache Maven 3.2.1 (ea8b2b07643dbb1b84b6d16e1f08391b666bc1e9;
2014-02-14T18:37:52+01:00)
Maven home: /home/marek/opt/maven
Java version: 1.8.0, vendor: Oracle Corporation
Java home: /usr/lib/jvm/java-8-oracle/jre
Default locale: pl_PL, platform encoding: UTF-8
OS name: "linux", version: "3.11.0-11-generic", arch: "amd64", family:
"unix"

Thanks in advance!
Marek.