> Standard Doclet version 1.6.0_29 > Building tree for all the packages and classes ........ > [ERROR] java.lang.ClassCastException: com.sun.tools.javadoc.ClassDocImpl > cannot be cast to com.sun.javadoc.AnnotationTypeDoc > [ERROR] at > com.sun.tools.javadoc.AnnotationDescImpl.annotationType(AnnotationDescImpl.java:46)
First realize this is an issue inside the JDK Javadoc tool and not a problem with Maven. You can see this from the stacktrace reported. If you run "mvn -X ..." you will get the full command line used to execute Javadoc and it will (should) show you the same error. So knowing that, you should look for this issue in the Sun/Oracle bug database. I did, and your problem looks like this one (fixed in jdk7 b73): http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6709246 Try building your project and the javadocs with jdk7 and see if that solves your problem. Wayne --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
