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

NoClassDefFoundError in jenkins version 2.387.1

      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)

          [JENKINS-70978] NoClassDefFoundError in jenkins version 2.387.1

          Mark Waite added a comment -

          fasiyuddin this is being resolved as a duplicate of JENKINS-70842.

          The global post script plugin has a pull request submitted to resolve the issue. You could help yourself and other users by installing the plugin build from that pull request and confirming that it works well in your environment. When you've done that, please report your results as a comment on the pull request.  Plugin maintainers are more likely to release a new version of a plugin when multiple users report that they are successfully running a pre-release build of the plugin.

          The pre-release build is available from https://ci.jenkins.io/job/Plugins/job/global-post-script-plugin/job/PR-13/

          If your organization depends on the global post script plugin, you should recommend to them that they allow you or a colleague to spend a few hours each month as a maintainer of the plugin. The person would "Adopt the plugin", release a new version with the latest fixes, and modernize the plugin so that ongoing maintenance is simpler.

          Mark Waite added a comment - fasiyuddin this is being resolved as a duplicate of JENKINS-70842 . The global post script plugin has a pull request submitted to resolve the issue. You could help yourself and other users by installing the plugin build from that pull request and confirming that it works well in your environment. When you've done that, please report your results as a comment on the pull request.  Plugin maintainers are more likely to release a new version of a plugin when multiple users report that they are successfully running a pre-release build of the plugin. The pre-release build is available from https://ci.jenkins.io/job/Plugins/job/global-post-script-plugin/job/PR-13/ If your organization depends on the global post script plugin, you should recommend to them that they allow you or a colleague to spend a few hours each month as a maintainer of the plugin. The person would "Adopt the plugin" , release a new version with the latest fixes, and modernize the plugin so that ongoing maintenance is simpler.

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

              Created:
              Updated:
              Resolved: