Uploaded image for project: 'mod_cluster'
  1. mod_cluster
  2. MODCLUSTER-836

Building the aggregate Javadoc site fails the build

XMLWordPrintable

      Affects both 2.0.2.Final and `main`.

      The aggregate reports doesn't build:
      mvn clean install -DskipTests javadoc:aggregate

      [INFO] BUILD FAILURE
      [INFO] ------------------------------------------------------------------------
      [INFO] Total time: 7.397 s
      [INFO] Finished at: 2024-09-18T10:58:22+02:00
      [INFO] ------------------------------------------------------------------------
      [ERROR] Failed to execute goal org.apache.maven.plugins:maven-javadoc-plugin:3.7.0:aggregate (default-cli) on project mod_cluster-parent: An error has occurred in Javadoc report generation:
      [ERROR] Exit code: 1
      [ERROR] warning: The -footer option is no longer supported and will be ignored.
      [ERROR] It may be removed in a future release.
      [ERROR] /Users/rhusar/git/mod_cluster/container/tomcat-9.0/src/main/java/org/jboss/modcluster/container/tomcat/TomcatContext.java:11: error: package javax.servlet does not exist
      [ERROR] import javax.servlet.ServletException;
      [ERROR] ^
      [ERROR] /Users/rhusar/git/mod_cluster/container/tomcat-9.0/src/main/java/org/jboss/modcluster/container/tomcat/TomcatContext.java:56: error: cannot find symbol
      [ERROR] public void invoke(Request request, Response response) throws IOException, ServletException {
      [ERROR] ^
      [ERROR] symbol: class ServletException
      [ERROR] location: class RequestListenerValve
      [ERROR] /Users/rhusar/git/mod_cluster/container/tomcat-9.0/src/main/java/org/jboss/modcluster/container/tomcat/JavaxHttpSessionListener.java:7: error: package javax.servlet.http does not exist
      [ERROR] import javax.servlet.http.HttpSessionEvent;
      [ERROR] ^
      [ERROR] /Users/rhusar/git/mod_cluster/container/tomcat-9.0/src/main/java/org/jboss/modcluster/container/tomcat/JavaxHttpSessionListener.java:16: error: package javax.servlet.http does not exist
      [ERROR] public class JavaxHttpSessionListener implements javax.servlet.http.HttpSessionListener {
      [ERROR] ^
      [ERROR] /Users/rhusar/git/mod_cluster/container/tomcat-9.0/src/main/java/org/jboss/modcluster/container/tomcat/JavaxHttpSessionListener.java:25: error: cannot find symbol
      [ERROR] public void sessionCreated(HttpSessionEvent se) {
      [ERROR] ^
      [ERROR] symbol: class HttpSessionEvent
      [ERROR] location: class JavaxHttpSessionListener
      [ERROR] /Users/rhusar/git/mod_cluster/container/tomcat-9.0/src/main/java/org/jboss/modcluster/container/tomcat/JavaxHttpSessionListener.java:30: error: cannot find symbol
      [ERROR] public void sessionDestroyed(HttpSessionEvent se) {
      [ERROR] ^
      [ERROR] symbol: class HttpSessionEvent
      [ERROR] location: class JavaxHttpSessionListener
      [ERROR] 6 errors
      [ERROR] 1 warning
      [ERROR] Command line was: /Library/Java/JavaVirtualMachines/temurin-17.jdk/Contents/Home/bin/javadoc @options @packages
      [ERROR]
      [ERROR] Refer to the generated Javadoc files in '/Users/rhusar/git/mod_cluster/target/site/apidocs' dir.
      [ERROR]
      [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

              rhn-engineering-rhusar Radoslav Husar
              rhn-engineering-rhusar Radoslav Husar
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: