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

Java 9 compatibility: Can't start Jenkins

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Critical Critical
    • core

      After update Jenkins (via apt-get update && apt-get upgrade -y)

      Jenkins can't start

      on WWW I have errror:

      hudson.util.HudsonFailedToLoad: java.lang.NoClassDefFoundError: Could not initialize class javax.crypto.JceSecurity
      	at hudson.WebAppMain$3.run(WebAppMain.java:241)
      Caused by: java.lang.NoClassDefFoundError: Could not initialize class javax.crypto.JceSecurity
      	at javax.crypto.Mac.getInstance(java.base@9-ea/Mac.java:184)
      	at jenkins.security.HMACConfidentialKey.createMac(HMACConfidentialKey.java:111)
      	at jenkins.security.HMACConfidentialKey.mac(HMACConfidentialKey.java:69)
      	at jenkins.security.HMACConfidentialKey.mac(HMACConfidentialKey.java:85)
      	at jenkins.security.ApiTokenProperty$DescriptorImpl.newInstance(ApiTokenProperty.java:178)
      	at jenkins.security.ApiTokenProperty$DescriptorImpl.newInstance(ApiTokenProperty.java:163)
      	at hudson.model.User.load(User.java:196)
      	at hudson.model.User.<init>(User.java:148)
      	at hudson.model.User.getOrCreate(User.java:456)
      	at hudson.model.User.getById(User.java:527)
      	at hudson.security.HudsonPrivateSecurityRealm.createAccount(HudsonPrivateSecurityRealm.java:398)
      	at jenkins.install.SetupWizard.init(SetupWizard.java:106)
      	at jenkins.install.InstallState$3.initializeState(InstallState.java:105)
      	at jenkins.model.Jenkins.setInstallState(Jenkins.java:970)
      	at jenkins.install.InstallUtil.proceedToNextStateFrom(InstallUtil.java:94)
      	at jenkins.model.Jenkins.<init>(Jenkins.java:887)
      	at hudson.model.Hudson.<init>(Hudson.java:85)
      	at hudson.model.Hudson.<init>(Hudson.java:81)
      	at hudson.WebAppMain$3.run(WebAppMain.java:227)
      

      Log : http://pastebin.com/JLvpF6Jm

            Unassigned Unassigned
            nitro2016 Jarosław Maciejewski
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: