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

org.codehaus.groovy.control.MultipleCompilationErrorsException: startup failed:

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      HI Team , 

       

      When i try to build jenkins stack i get below error

      The script : 102-splunk-integration.groovy is good. But not sure why the below error comes. 

       

      Groovy version i use is 2.3

      
      

      2021-03-22 20:25:27.081+0000 [id=34] WARNING j.util.groovy.GroovyHookScript#execute: Failed to run script file:/var/lib/jenkins/init.groovy.d/102-splunk-integration.groovy org.codehaus.groovy.control.MultipleCompilationErrorsException: startup failed: /var/lib/jenkins/init.groovy.d/102-splunk-integration.groovy: 5: unable to resolve class com.splunk.splunkjenkins.model.MetaDataConfigItem  @ line 5, column 1.    import com.splunk.splunkjenkins.model.MetaDataConfigItem    ^ /var/lib/jenkins/init.groovy.d/102-splunk-integration.groovy: 4: unable to resolve class com.splunk.splunkjenkins.SplunkJenkinsInstallation  @ line 4, column 1.    import com.splunk.splunkjenkins.SplunkJenkinsInstallation    ^ 2 errors at org.codehaus.groovy.control.ErrorCollector.failIfErrors(ErrorCollector.java:310) at org.codehaus.groovy.control .CompilationUnit.applyToSourceUnits(CompilationUnit.java:958) at org.codehaus.groovy.control.CompilationUnit.doPhaseOperation(CompilationUnit.java:605) at org.codehaus.groovy.control.CompilationUnit.compile(CompilationUnit.java:554) at groovy.lang.GroovyClassLoader.doParseClass(GroovyClassLoader.java:298) at groovy.lang.GroovyClassLoader.parseClass(GroovyClassLoader.java:268) at groovy.lang.GroovyShell.parseClass(GroovyShell.java:688) at groovy.lang.GroovyShell.parse(GroovyShell.java:700) at groovy.lang.GroovyShell.evaluate(GroovyShell.java:584) at jenkins.util.groovy.GroovyHookScript.execute(GroovyHookScript.java:136) at jenkins.util.groovy.GroovyHookScript.execute(GroovyHookScript.java:127) at jenkins.util.groovy.GroovyHookScript.run(GroovyHookScript.java:110) at hudson.init.impl.GroovyInitScript.init(GroovyInitScript.java:42) 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:296)

       

       

        Attachments

          Activity

          There are no comments yet on this issue.

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            pradeepjykp002 Pradeep Jerry
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated: