[ 
https://issues.apache.org/jira/browse/GUACAMOLE-736?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16772559#comment-16772559
 ] 

Michael Jumper commented on GUACAMOLE-736:
------------------------------------------

Almost! Apparently applies to guacamole-auth-radius as well:

{code:none}
...
[INFO] --- maven-compiler-plugin:3.3:compile (default-compile) @ 
guacamole-auth-radius ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 9 source files to 
/home/jenkins/jenkins-slave/workspace/guacamole-client-build-test/JDK/JDK 
11/guacamole-client/extensions/guacamole-auth-radius/target/classes
[INFO] -------------------------------------------------------------
[ERROR] COMPILATION ERROR : 
[INFO] -------------------------------------------------------------
[ERROR] 
/home/jenkins/jenkins-slave/workspace/guacamole-client-build-test/JDK/JDK 
11/guacamole-client/extensions/guacamole-auth-radius/src/main/java/org/apache/guacamole/auth/radius/AuthenticationProviderService.java:[28,21]
 error: package javax.xml.bind does not exist
[ERROR] 
/home/jenkins/jenkins-slave/workspace/guacamole-client-build-test/JDK/JDK 
11/guacamole-client/extensions/guacamole-auth-radius/src/main/java/org/apache/guacamole/auth/radius/AuthenticationProviderService.java:[103,29]
 error: cannot find symbol
[ERROR]   symbol:   variable DatatypeConverter
  location: class AuthenticationProviderService
/home/jenkins/jenkins-slave/workspace/guacamole-client-build-test/JDK/JDK 
11/guacamole-client/extensions/guacamole-auth-radius/src/main/java/org/apache/guacamole/auth/radius/AuthenticationProviderService.java:[167,36]
 error: cannot find symbol
[INFO] 3 errors 
[INFO] -------------------------------------------------------------
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary for guacamole-client 1.1.0:
[INFO] 
[INFO] guacamole-common ................................... SUCCESS [ 21.940 s]
[INFO] guacamole-ext ...................................... SUCCESS [ 11.645 s]
[INFO] guacamole-common-js ................................ SUCCESS [  2.826 s]
[INFO] guacamole .......................................... SUCCESS [ 20.813 s]
[INFO] guacamole-auth-cas ................................. SUCCESS [  5.001 s]
[INFO] guacamole-auth-duo ................................. SUCCESS [  3.408 s]
[INFO] guacamole-auth-header .............................. SUCCESS [  2.180 s]
[INFO] guacamole-auth-jdbc ................................ SUCCESS [  0.054 s]
[INFO] guacamole-auth-jdbc-base ........................... SUCCESS [  4.430 s]
[INFO] guacamole-auth-jdbc-mysql .......................... SUCCESS [  4.960 s]
[INFO] guacamole-auth-jdbc-postgresql ..................... SUCCESS [  4.579 s]
[INFO] guacamole-auth-jdbc-sqlserver ...................... SUCCESS [  4.856 s]
[INFO] guacamole-auth-jdbc-dist ........................... SUCCESS [  1.460 s]
[INFO] guacamole-auth-ldap ................................ SUCCESS [  5.411 s]
[INFO] guacamole-auth-openid .............................. SUCCESS [  3.258 s]
[INFO] guacamole-auth-quickconnect ........................ SUCCESS [  4.602 s]
[INFO] guacamole-auth-totp ................................ SUCCESS [  8.314 s]
[INFO] guacamole-example .................................. SUCCESS [  1.282 s]
[INFO] guacamole-playback-example ......................... SUCCESS [  0.592 s]
[INFO] guacamole-auth-radius .............................. FAILURE [  3.580 s]
[INFO] guacamole-client ................................... SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  01:55 min
[INFO] Finished at: 2019-02-20T02:39:54Z
[INFO] ------------------------------------------------------------------------
{code}

> 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-totp
>    Affects Versions: 1.0.0, 1.1.0
>            Reporter: Michael Jumper
>            Assignee: Nick Couchman
>            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)

Reply via email to