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

NoClassDefFoundError in jenkins version 2.387.1

XMLWordPrintable

      when we use Global post script plugin in jenkins 2.387.1 version then it gives an error. Please do the needful.
      java.lang.NoClassDefFoundError: org/apache/commons/httpclient/HttpMethod
      at com.orctom.jenkins.plugin.globalpostscript.GlobalPostScript.onCompleted(GlobalPostScript.java:59)
      at hudson.model.listeners.RunListener.lambda$fireCompleted$0(RunListener.java:207)
      at jenkins.util.Listeners.lambda$notify$0(Listeners.java:59)
      at jenkins.util.Listeners.notify(Listeners.java:67)
      at hudson.model.listeners.RunListener.fireCompleted(RunListener.java:205)
      at hudson.model.Run.execute(Run.java:1945)
      at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:44)
      at hudson.model.ResourceController.execute(ResourceController.java:101)
      at hudson.model.Executor.run(Executor.java:442)
      Caused by: java.lang.ClassNotFoundException: org.apache.commons.httpclient.HttpMethod
      at java.base/java.net.URLClassLoader.findClass(URLClassLoader.java:471)
      at jenkins.util.URLClassLoader2.findClass(URLClassLoader2.java:35)
      at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:588)
      at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:521)

            orctom Hao CHEN
            fasiyuddin fasiyuddin qazi
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: