hudson.util.HudsonFailedToLoad

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • After update Jenkins (via apt-get update && apt-get upgrade -y) Jenkins can't start on WWW I have errror: {code:java} 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) {code} Log : http://pastebin.com/JLvpF6Jm
    via by Jarosław Maciejewski,
    • 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)
    No Bugmate found.