Uploaded image for project: 'Guacamole'
  1. Guacamole
  2. GUACAMOLE-736

guacamole-auth-cas build fails against JDK 11

    XMLWordPrintableJSON

Details

    Description

      When attempting to build guacamole-client against JDK 11, the guacamole-auth-cas portion of the build fails with the following error:

      [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.3:compile (default-compile) on project guacamole-auth-cas: Compilation failure: Compilation failure: 
      [ERROR] guacamole-client/extensions/guacamole-auth-cas/src/main/java/org/apache/guacamole/auth/cas/ticket/TicketValidationService.java:[31,21] error: package javax.xml.bind does not exist
      [ERROR] guacamole-client/extensions/guacamole-auth-cas/src/main/java/org/apache/guacamole/auth/cas/ticket/TicketValidationService.java:[164,34] error: cannot find symbol
      

      This is apparently because the java.xml.bind package was deprecated as a part of the JDK in version 9 and finally removed in JDK 11. It continues to exist in non-deprecated form, but now must be pulled in manually as a dependency:

      https://stackoverflow.com/questions/52502189/java-11-package-javax-xml-bind-does-not-exist

      Attachments

        Activity

          People

            mjumper Mike Jumper
            mjumper Mike Jumper
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: