org.codehaus.groovy.control.MultipleCompilationErrorsException: startup failed: Spec expression: 1: expecting '}', found '' @ line 1, column 298. t{new Random()}?.take(1)[0]) } ^ 1 error

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 Stack Overflow by Mahbub Rahman
, 1 year ago
startup failed: Spec expression: 1: expecting '}', found '' @ line 1, column 298. t{new Random()}?.take(1)[0]) } ^ 1 error
via Google Groups by Brett Bergquist, 9 months ago
startup failed: Spec expression: 1: unexpected token: assert @ line 1, column 95. ountTableAddEditPage) != null assert get ^ 1 error
via nabble.com by Unknown author, 1 year ago
startup failed: Spec expression: 1: unexpected token: assert @ line 1, column 71.    Name == RuntimeException.name assert mes                          ^ 1 error
via Google Groups by Howard Lewis Ship, 2 years ago
startup failed: Spec expression: 1: unexpected token: assert @ line 1, column 71. Name == RuntimeException.name assert mes ^ 1 error
via GitHub by geb-bot
, 2 years ago
startup failed: Spec expression: 1: expecting '}', found 'accountTerms' @ line 1, column 128. == 'GitHub Terms of Service' accountTer ^ 1 error
via GitHub by anshbansal
, 2 years ago
startup failed: Spec expression: 1: expecting '}', found 'minute' @ line 1, column 125. lendar().get(Calendar.MINUTE) minute != ^ 1 error
org.codehaus.groovy.control.MultipleCompilationErrorsException: startup failed: Spec expression: 1: expecting '}', found '' @ line 1, column 298. t{new Random()}?.take(1)[0]) } ^ 1 error
at org.codehaus.groovy.control.ErrorCollector.failIfErrors(ErrorCollector.java:310)
at org.codehaus.groovy.control.ErrorCollector.addError(ErrorCollector.java:107)
at org.codehaus.groovy.control.ErrorCollector.addFatalError(ErrorCollector.java:149)
at org.codehaus.groovy.control.ErrorCollector.addError(ErrorCollector.java:120)
at org.codehaus.groovy.control.ErrorCollector.addError(ErrorCollector.java:132)
at org.codehaus.groovy.control.SourceUnit.addError(SourceUnit.java:360)
at org.codehaus.groovy.antlr.AntlrParserPlugin.transformCSTIntoAST(AntlrParserPlugin.java:145)
at org.codehaus.groovy.antlr.AntlrParserPlugin.parseCST(AntlrParserPlugin.java:111)
at org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38)
at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:459)
at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:675)
at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:382)

Users with the same issue

2 times, 2 days ago
4 times, 1 month ago
Once, 5 months ago
Once, 6 months ago
Once, 6 months ago

Write tip

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