org.codehaus.groovy.control.MultipleCompilationErrorsException: startup failed: Script1.groovy: 38: The class 'FileSearch' has an incorrect modifier static. @ line 38, column 1. private static class FileSearch implements FileCallable { ^ Script1.groovy: 38: The class 'FileSearch' has an incorrect modifier private. @ line 38, column 1. private static class FileSearch implements FileCallable { ^ 2 errors

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via Google Groups by Simona Avornicesei, 1 year ago
startup failed: Script1.groovy: 38: The class 'FileSearch' has an incorrect modifier static. @ line 38, column 1. private static class FileSearch implements FileCallable { ^ Script1.groovy: 38: The class 'FileSearch' has an incorrect modifier private. @ line 38, column 1. private static class FileSearch implements FileCallable { ^ 2 errors
via Google Groups by jgl...@cloudbees.com (JIRA), 9 months ago
startup failed: WorkflowScript: -1: You are not allowed to override the final method ___cps___2() from class 'com.acme.foo.test.MyTest'. @ line -1, column -1. 1 error
via Google Groups by Hemang Lavana, 1 year ago
startup failed: WorkflowScript: -1: You are not allowed to override the final method ___cps___2() from class 'com.cisco.astro.paw.polaris.PolarisPlatform'. @ line -1, column -1. 1 error
via Google Groups by dtra...@cloudbees.com (JIRA), 1 year ago
startup failed: <br> WorkflowScript: -1: You are not allowed to override the final method __<em>cps</em>__2() from class 'com.acme.foo.test.MyTest'. <br> @ line -1, column -1. <br> 1 error <br>
via Jenkins JIRA by Patrick Wolf, 1 year ago
startup failed: WorkflowScript: 3: Missing required section 'agent' @ line 3, column 1. pipeline{ ^ 1 error
via Google Groups by Bartłomiej Kruczyk, 9 months ago
startup failed: WorkflowScript: 3: Expected to find someKey "someValue" @ line 3, column 12. docker { ^ WorkflowScript: 3: Missing required parameter for agent type "docker": image @ line 3, column 5. docker { ^ 2 errors
org.codehaus.groovy.control.MultipleCompilationErrorsException: startup failed: Script1.groovy: 38: The class 'FileSearch' has an incorrect modifier static. @ line 38, column 1. private static class FileSearch implements FileCallable { ^ Script1.groovy: 38: The class 'FileSearch' has an incorrect modifier private. @ line 38, column 1. private static class FileSearch implements FileCallable { ^ 2 errors
at org.codehaus.groovy.control.ErrorCollector.failIfErrors(ErrorCollector.java:310)
at org.codehaus.groovy.control.CompilationUnit.applyToPrimaryClassNodes(CompilationUnit.java:1073)
at org.codehaus.groovy.control.CompilationUnit.doPhaseOperation(CompilationUnit.java:591)
at org.codehaus.groovy.control.CompilationUnit.processPhaseOperations(CompilationUnit.java:569)
at org.codehaus.groovy.control.CompilationUnit.compile(CompilationUnit.java:546)
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.parse(GroovyShell.java:736)
at groovy.lang.GroovyShell.parse(GroovyShell.java:727)
at org.jenkinsci.plugins.scriptler.util.GroovyScript.call(GroovyScript.java:117)
at hudson.remoting.LocalChannel.call(LocalChannel.java:45)
at org.jenkinsci.plugins.scriptler.util.ScriptHelper.runScript(ScriptHelper.java:124)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 4 days ago
20 times, 1 year ago
5 times, 1 month ago
3 times, 1 month ago
Once, 3 months ago
29 more bugmates

Know the solutions? Share your knowledge to help other developers to debug faster.