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

Getting java.lang.NoClassDefFoundError: org/jenkinsci/plugins/workflow/job/WorkflowRun Exception while running Job

    Details

    • Similar Issues:

      Description

      We are getting the below exception in Jenkins 2.7.1 while running the job. we've tried to install Pipeline SCM API in Blue Ocean to use the Pipeline feature. but after installing the plugin it got this error. we have uninstalled the plugin but it still happening there.We are getting the below exception in Jenkins 2.7.1 while running the job. we've tried to install Pipeline SCM API in Blue Ocean to use the Pipeline feature. but after installing the plugin it got this error. we have uninstalled the plugin but it still happening there.

      FATAL: org/jenkinsci/plugins/workflow/job/WorkflowRunjava.lang.NoClassDefFoundError: org/jenkinsci/plugins/workflow/job/WorkflowRun at org.jenkinsci.plugins.workflow.job.WorkflowJob$SCMListenerImpl.onCheckout(WorkflowJob.java:750) at hudson.model.AbstractBuild$AbstractBuildExecution.defaultCheckout(AbstractBuild.java:609) at jenkins.scm.SCMCheckoutStrategy.checkout(SCMCheckoutStrategy.java:86) at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:529) at hudson.model.Run.execute(Run.java:1741) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43) at hudson.model.ResourceController.execute(ResourceController.java:98) at hudson.model.Executor.run(Executor.java:410)

        Attachments

          Activity

          Hide
          svanoort Sam Van Oort added a comment -

          Bidhan Saha This error occurs when one of the plugins you need is either not installed or failing to load – Jenkins should tell you which plugins are failing to load in the log when you restart. Update the Pipeline Job plugin from the update center and the issue will go away (that will automatically update dependencies).

          Show
          svanoort Sam Van Oort added a comment - Bidhan Saha This error occurs when one of the plugins you need is either not installed or failing to load – Jenkins should tell you which plugins are failing to load in the log when you restart. Update the Pipeline Job plugin from the update center and the issue will go away (that will automatically update dependencies).

            People

            • Assignee:
              Unassigned
              Reporter:
              bidhansaha Bidhan Saha
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: