[ https://issues.apache.org/jira/browse/GUACAMOLE-736?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16772573#comment-16772573 ]
Michael Jumper commented on GUACAMOLE-736: ------------------------------------------ And though it doesn't produce a build failure, we should probably also explicitly depend within Guacamole itself: {code:none} [mjumper@dev-mjumper guacamole-client]$ find -name pom.xml | xargs grep -L "jaxb-api" | xargs dirname | while read PROJECT_DIR; do [ -d "$PROJECT_DIR/src/" ] && find "$PROJECT_DIR/src/" -name "*.java" | xargs grep 'javax.xml.bind'; done ./guacamole/src/main/java/org/apache/guacamole/rest/auth/SecureRandomAuthTokenGenerator.java:import javax.xml.bind.DatatypeConverter; ./guacamole/src/main/java/org/apache/guacamole/rest/auth/TokenRESTService.java:import javax.xml.bind.DatatypeConverter; ./guacamole/src/main/java/org/apache/guacamole/tunnel/OutputStreamInterceptingFilter.java:import javax.xml.bind.DatatypeConverter; ./guacamole/src/main/java/org/apache/guacamole/tunnel/InputStreamInterceptingFilter.java:import javax.xml.bind.DatatypeConverter; [mjumper@dev-mjumper guacamole-client]$ {code} It looks like the Guacamole part of the build doesn't currently fail because an older version of {{jaxb-api}} is pulled in via {{jersey-json}}. > guacamole-auth-cas build fails against JDK 11 > --------------------------------------------- > > Key: GUACAMOLE-736 > URL: https://issues.apache.org/jira/browse/GUACAMOLE-736 > Project: Guacamole > Issue Type: Bug > Components: guacamole-auth-cas, guacamole-auth-duo, > guacamole-auth-jdbc, guacamole-auth-radius, guacamole-auth-totp > Affects Versions: 1.0.0, 1.1.0 > Reporter: Michael Jumper > Assignee: Michael Jumper > Priority: Minor > > When attempting to build guacamole-client against JDK 11, the > guacamole-auth-cas portion of the build fails with the following error: > {code:none} > [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 > {code} > 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 -- This message was sent by Atlassian JIRA (v7.6.3#76005)