Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-55143

PCT: Running with JDK11 gets compile failure with NoSuchFileException

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Not A Defect
    • Icon: Minor Minor
    • plugin-compat-tester
    • None
    • Mac macOS Mojave 10.4.1. Maven 3.6.0 OpenJDK 11.0.1

      While trying to run the PCT with the command:

      make demo-jdk11 -e PLUGIN_NAME=credentials -e TEST_JDK_HOME=/Library/Java/JavaVirtualMachines/jdk-11.0.1.jdk/Contents/Home/

      I get the following compile error

      [INFO] -------------------------------------------------------------
      [ERROR] COMPILATION ERROR : 
      [INFO] -------------------------------------------------------------
      [ERROR] Failed to load existing service definition files: java.nio.file.NoSuchFileException: /Users/kevinearls/sources/jenkinsci/forks/plugin-compat-tester/work/credentials/target/classes/META-INF/services/org.kohsuke.args4j.spi.OptionHandler
      [ERROR] java.nio.file.NoSuchFileException: /Users/kevinearls/sources/jenkinsci/forks/plugin-compat-tester/work/credentials/target/classes/META-INF/exposed.stapler-beans

       

      I have attached the fulll log

            Unassigned Unassigned
            kearls Kevin EARLS
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: