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

Bulid Flow Plugin java.lang.NoClassDefFoundError: hudson.util.spring.ClosureScript

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Fix
    • Icon: Blocker Blocker
    • build-flow-plugin
    • None
    • Jenkins 2.289.2
      Build Flow plugin 0,20

      Jenkins core removed the package hudson.util.spring.* (version jenkins-2.266) and that's exactly about class ->  hudson.util.spring.ClosureScript

      While the build-flow-plugin want to use class ClosureScript then 

      
      FATAL: hudson.util.spring.ClosureScript
      java.lang.NoClassDefFoundError: hudson.util.spring.ClosureScript
       at com.cloudbees.plugins.flow.FlowDSL.class$(FlowDSL.groovy)
       at com.cloudbees.plugins.flow.FlowDSL.$get$$class$hudson$util$spring$ClosureScript(FlowDSL.groovy)
       at com.cloudbees.plugins.flow.FlowDSL.executeFlowScript(FlowDSL.groovy:75)
       at com.cloudbees.plugins.flow.FlowRun$BuildWithWorkspaceRunnerImpl.doRun(FlowRun.java:180)
       at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:513)
       at hudson.model.Run.execute(Run.java:1906)
       at com.cloudbees.plugins.flow.FlowRun.run(FlowRun.java:153)
       at hudson.model.ResourceController.execute(ResourceController.java:97)
       at hudson.model.Executor.run(Executor.java:429)
      
      

       

      last version LTS Jenkins where it's hudson.util.spring.ClosureScript 

      https://javadoc.jenkins.io/archive/jenkins-2.263/

      but newer LTS Jenkins class not found

      Maybe correct and add this class newer version LTS or what's the other workaround this problem ??

       

            Unassigned Unassigned
            pawello009 Pawel Cimochowski
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: