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 Unknown author, 1 year ago
startup failed: WorkflowScript: 30: Class definition not expected here. Please define the class at an appropriate place or perhaps try using a block/Closure instead. at line: 30 column: 2. File: WorkflowScript @ line 30, column 2. class BCadTools ^ 1 error
via Stack Overflow by Itai Ganot
, 1 year ago
startup failed: WorkflowScript: 23: Method definition not expected here. Please define the method at an appropriate place or perhaps try using a block/Closure instead. at line: 23 column: 5. File: WorkflowScript @ line 23, column 5. def get_current_time_date() { ^ 1 error
via Jenkins JIRA by Jesse Glick, 1 year ago
. One of the classes is an explicit generated class using the class statement, the other is a class generated from the script body based on the file name. Solutions are to change the file name or to change the class name. @ line 5, column 1. class Cookbook { ^ 1 error
via Google Groups by soda, 7 months ago
startup failed, C:\development\workspace-sts\mdta-rf- tuning-0299\grails-app\domain\com\foo\mdta\TestEasyB.story: 7: unable to resolve class ChannelMap @ line 7, column 8. 1 error
via Stack Overflow by namalfernandolk
, 2 months ago
startup failed: 12:47:28,109 ERROR [stderr] (default task-11) /path/to/Grrovyfile.gsh: 9: unable to resolve class net.sf.json.JSONObject 12:47:28,109 ERROR [stderr] (default task-11) @ line 9, column 1. 12:47:28,109 ERROR [stderr] (default task-11
via YouTrack by Unknown author, 2 years ago
startup failed, IdeaPrintProjectSettings: 109: Unknown type: METHOD_DEF at line: 109 column: 7. File: IdeaPrintProjectSettings @ line 109, column 7. 1 error
org.codehaus.groovy.control.MultipleCompilationErrorsException: startup failed:
WorkflowScript: 30: Class definition not expected here. Please define the class at an appropriate place or perhaps try using a block/Closure instead. at line: 30 column: 2. File: WorkflowScript @ line 30, column 2.
   	class BCadTools
    ^
1 error	at org.codehaus.groovy.control.ErrorCollector.failIfErrors(ErrorCollector.java:310)	at org.codehaus.groovy.control.CompilationUnit.applyToSourceUnits(CompilationUnit.java:946)	at org.codehaus.groovy.control.CompilationUnit.doPhaseOperation(CompilationUnit.java:593)	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 org.jenkinsci.plugins.workflow.cps.CpsGroovyShell.reparse(CpsGroovyShell.java:106)	at org.jenkinsci.plugins.workflow.cps.CpsFlowExecution.parseScript(CpsFlowExecution.java:376)	at org.jenkinsci.plugins.workflow.cps.CpsFlowExecution.start(CpsFlowExecution.java:343)	at org.jenkinsci.plugins.workflow.job.WorkflowRun.run(WorkflowRun.java:212)	at hudson.model.ResourceController.execute(ResourceController.java:98)	at hudson.model.Executor.run(Executor.java:410)