hudson.util.HudsonFailedToLoad: org.jvnet.hudson.reactor.ReactorException: java.lang.NoClassDefFoundError: jenkins/scm/api/SCMRevisionAction

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.

  • Hi, An Instalaltion of Jenkins ran fine until installing the multijob plugin. After a service restart, I get this Java error (as long as the scm-api plugin is present in the plugin directory. Taking it out enables login): hudson.util.HudsonFailedToLoad: org.jvnet.hudson.reactor.ReactorException: java.lang.NoClassDefFoundError: jenkins/scm/api/SCMRevisionAction at hudson.WebAppMain$3.run(WebAppMain.java:244) Caused by: org.jvnet.hudson.reactor.ReactorException: java.lang.NoClassDefFoundError: jenkins/scm/api/SCMRevisionAction at org.jvnet.hudson.reactor.Reactor.execute(Reactor.java:269) at jenkins.InitReactorRunner.run(InitReactorRunner.java:45) at jenkins.model.Jenkins.executeReactor(Jenkins.java:1009) at jenkins.model.Jenkins.<init>(Jenkins.java:877) at hudson.model.Hudson.<init>(Hudson.java:85) at hudson.model.Hudson.<init>(Hudson.java:81) at hudson.WebAppMain$3.run(WebAppMain.java:227) Caused by: java.lang.NoClassDefFoundError: jenkins/scm/api/SCMRevisionAction at org.jenkinsci.plugins.workflow.cps.replay.ReplayAction.<clinit>(ReplayAction.java:157) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at hudson.init.TaskMethodFinder.invoke(TaskMethodFinder.java:104) at hudson.init.TaskMethodFinder$TaskImpl.run(TaskMethodFinder.java:175) at org.jvnet.hudson.reactor.Reactor.runTask(Reactor.java:282) at jenkins.model.Jenkins$7.runTask(Jenkins.java:998) at org.jvnet.hudson.reactor.Reactor$2.run(Reactor.java:210) at org.jvnet.hudson.reactor.Reactor$Node.run(Reactor.java:117) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) at java.lang.Thread.run(Thread.java:745) Caused by: java.lang.ClassNotFoundException: jenkins.scm.api.SCMRevisionAction at jenkins.util.AntClassLoader.findClassInComponents(AntClassLoader.java:1376) at jenkins.util.AntClassLoader.findClass(AntClassLoader.java:1326) at jenkins.util.AntClassLoader.loadClass(AntClassLoader.java:1079) at java.lang.ClassLoader.loadClass(ClassLoader.java:357) ... 14 more
    via by nash paz,
  • Jenkins can't install plugin
    via GitHub by ray65536
    ,
  • GitHub comment 63#193388270
    via GitHub by saz
    ,
  • Installing the released snsnotify-plugin v1.9 on a completely stock Jenkins v1.614 does not work. Builds using the plugin fail with the following exception on stdout: java.lang.NoClassDefFoundError: org/apache/http/util/Args at org.apache.http.conn.scheme.Scheme.<init>(Scheme.java:90) at org.apache.http.impl.conn.SchemeRegistryFactory.createDefault(SchemeRegistryFactory.java:50) at com.amazonaws.http.ConnectionManagerFactory.createPoolingClientConnManager(ConnectionManagerFactory.java:29) at com.amazonaws.http.HttpClientFactory.createHttpClient(HttpClientFactory.java:104) at com.amazonaws.http.AmazonHttpClient.<init>(AmazonHttpClient.java:198) at com.amazonaws.AmazonWebServiceClient.<init>(AmazonWebServiceClient.java:132) at com.amazonaws.AmazonWebServiceClient.<init>(AmazonWebServiceClient.java:116) at com.amazonaws.services.sns.AmazonSNSClient.<init>(AmazonSNSClient.java:147) at com.amazonaws.services.sns.AmazonSNSClient.<init>(AmazonSNSClient.java:128) at org.jenkinsci.plugins.snsnotify.AmazonSNSNotifier.send(AmazonSNSNotifier.java:156) at org.jenkinsci.plugins.snsnotify.AmazonSNSNotifier.sendSafe(AmazonSNSNotifier.java:102) at org.jenkinsci.plugins.snsnotify.AmazonSNSNotifier.onStarted(AmazonSNSNotifier.java:79) at org.jenkinsci.plugins.snsnotify.BuildListener.onStarted(BuildListener.java:19) at org.jenkinsci.plugins.snsnotify.BuildListener.onStarted(BuildListener.java:8) at hudson.model.listeners.RunListener.fireStarted(RunListener.java:215) at hudson.model.Run.execute(Run.java:1740) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43) at hudson.model.ResourceController.execute(ResourceController.java:98) at hudson.model.Executor.run(Executor.java:374) Caused by: java.lang.ClassNotFoundException: org.apache.http.util.Args at jenkins.util.AntClassLoader.findClassInComponents(AntClassLoader.java:1376) at jenkins.util.AntClassLoader.findClass(AntClassLoader.java:1326) at jenkins.util.AntClassLoader.loadClass(AntClassLoader.java:1079) at java.lang.ClassLoader.loadClass(ClassLoader.java:358) ... 19 more An easy fix is to add the following to the pom.xml and rebuild: <dependency> <groupId>org.apache.httpcomponents</groupId> <artifactId>httpcore</artifactId> <version>4.4.1</version> </dependency>
    via by Milo Hyson,
    • hudson.util.HudsonFailedToLoad: org.jvnet.hudson.reactor.ReactorException: java.lang.NoClassDefFoundError: jenkins/scm/api/SCMRevisionAction at hudson.WebAppMain$3.run(WebAppMain.java:244) Caused by: org.jvnet.hudson.reactor.ReactorException: java.lang.NoClassDefFoundError: jenkins/scm/api/SCMRevisionAction at org.jvnet.hudson.reactor.Reactor.execute(Reactor.java:269) at jenkins.InitReactorRunner.run(InitReactorRunner.java:45) at jenkins.model.Jenkins.executeReactor(Jenkins.java:1009) at jenkins.model.Jenkins.<init>(Jenkins.java:877) at hudson.model.Hudson.<init>(Hudson.java:85) at hudson.model.Hudson.<init>(Hudson.java:81) at hudson.WebAppMain$3.run(WebAppMain.java:227) Caused by: java.lang.NoClassDefFoundError: jenkins/scm/api/SCMRevisionAction at org.jenkinsci.plugins.workflow.cps.replay.ReplayAction.<clinit>(ReplayAction.java:157) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at hudson.init.TaskMethodFinder.invoke(TaskMethodFinder.java:104) at hudson.init.TaskMethodFinder$TaskImpl.run(TaskMethodFinder.java:175) at org.jvnet.hudson.reactor.Reactor.runTask(Reactor.java:282) at jenkins.model.Jenkins$7.runTask(Jenkins.java:998) at org.jvnet.hudson.reactor.Reactor$2.run(Reactor.java:210) at org.jvnet.hudson.reactor.Reactor$Node.run(Reactor.java:117) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:745) Caused by: java.lang.ClassNotFoundException: jenkins.scm.api.SCMRevisionAction at jenkins.util.AntClassLoader.findClassInComponents(AntClassLoader.java:1376) at jenkins.util.AntClassLoader.findClass(AntClassLoader.java:1326) at jenkins.util.AntClassLoader.loadClass(AntClassLoader.java:1079) at java.lang.ClassLoader.loadClass(ClassLoader.java:358) ... 14 more

    Users with the same issue

    Unknown visitor1 times, last one,
    Unknown visitor1 times, last one,
    Unknown visitor1 times, last one,
    Unknown visitor1 times, last one,
    Unknown visitor1 times, last one,
    22 more bugmates