Uploaded image for project: 'PicketLink'
  1. PicketLink
  2. PLINK-783

Unable to compile PicketLink Bindings with Java 11

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • None
    • None
    • BUILD
    • None

      mvn clean install -DskipTests on redhat-picketlink-bindings using Java 11 results in the following error:

      ...
      [ERROR] COMPILATION ERROR : 
      [INFO] -------------------------------------------------------------
      [ERROR] /home/okotek/git/redhat-picketlink-bindings/picketlink-tomcat-common/src/test/java/org/picketlink/test/identity/federation/bindings/servlets/SOAPSAMLXACMLServletUnitTestCase.java:[36,22] package javax.xml.soap does not exist
      [ERROR] /home/okotek/git/redhat-picketlink-bindings/picketlink-tomcat-common/src/test/java/org/picketlink/test/identity/federation/bindings/servlets/SOAPSAMLXACMLServletUnitTestCase.java:[37,22] package javax.xml.soap does not exist
      [ERROR] /home/okotek/git/redhat-picketlink-bindings/picketlink-tomcat-common/src/test/java/org/picketlink/test/identity/federation/bindings/servlets/SOAPSAMLXACMLServletUnitTestCase.java:[38,22] package javax.xml.soap does not exist
      [ERROR] /home/okotek/git/redhat-picketlink-bindings/picketlink-tomcat-common/src/test/java/org/picketlink/test/identity/federation/bindings/servlets/SOAPSAMLXACMLServletUnitTestCase.java:[39,22] package javax.xml.soap does not exist
      [ERROR] /home/okotek/git/redhat-picketlink-bindings/picketlink-tomcat-common/src/test/java/org/picketlink/test/identity/federation/bindings/servlets/SOAPSAMLXACMLServletUnitTestCase.java:[88,9] cannot find symbol
        symbol:   class SOAPMessage
        location: class org.picketlink.test.identity.federation.bindings.servlets.SOAPSAMLXACMLServletUnitTestCase
      [ERROR] /home/okotek/git/redhat-picketlink-bindings/picketlink-tomcat-common/src/test/java/org/picketlink/test/identity/federation/bindings/servlets/SOAPSAMLXACMLServletUnitTestCase.java:[88,58] cannot access javax.xml.soap.SOAPMessage
      ...
      

      It is not a regression. It may affect productization process in future. It blocks unit tests on Java 11.

      It is just compilation issue. PicketLink works in CD14 on Java 11.

              psilva@redhat.com Pedro Igor Craveiro
              okotek@redhat.com Ondrej Kotek
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated: