org.codehaus.groovy.control.MultipleCompilationErrorsException: startup failed: beans.groovy: 1: you tried to assign a value to the class 'beans'. Do you have a script with this name? @ line 1, column 1. beans = { ^ 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 Spring JIRA by Grzegorz Ćwiak, 1 year ago
startup failed: beans.groovy: 1: you tried to assign a value to the class 'beans'. Do you have a script with this name? @ line 1, column 1. beans = { ^ 1 error
via Google Groups by Zhemin Lin, 2 years ago
startup failed: groovysh_evaluate: 42: unable to resolve class OrientGraph @ line 42, column 5. g = new OrientGraph("remote:localhost/mr"); ^ 1 error
via Stack Overflow by namalfernandolk
, 1 day 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 GitHub by johnr-spindance
, 1 year ago
startup failed: RemoteClass: 4: unable to resolve class hudson.tasks.Mailer.UserProperty @ line 4, column 21. email = new hudson.tasks.Mailer.UserProperty('') ^ 1 error
via GitHub by zaiddabaeen
, 7 months ago
startup failed: ==> default: RemoteClass: 15: unable to resolve class SchemeRequirement ==> default: @ line 15, column 13. ==> default: new SchemeRequirement("ssh") ==> default: ^ ==> default: ==> default: 1 error ==> default:
via Jenkins JIRA by jurgezero, 11 months ago
startup failed: Script1.groovy: 180: unable to resolve class org.json.JSONObject @ line 180, column 21. org.json.JSONObject json = org.json.XML.toJSONObject(writer.toString()); ^ 1 error
org.codehaus.groovy.control.MultipleCompilationErrorsException: startup failed: beans.groovy: 1: you tried to assign a value to the class 'beans'. Do you have a script with this name? @ line 1, column 1. beans = { ^ 1 error
at org.codehaus.groovy.control.ErrorCollector.failIfErrors(ErrorCollector.java:309)
at org.codehaus.groovy.control.CompilationUnit.applyToSourceUnits(CompilationUnit.java:927)
at org.codehaus.groovy.control.CompilationUnit.doPhaseOperation(CompilationUnit.java:575)
at org.codehaus.groovy.control.CompilationUnit.compile(CompilationUnit.java:524)
at groovy.lang.GroovyClassLoader.doParseClass(GroovyClassLoader.java:279)
at groovy.lang.GroovyClassLoader.parseClass(GroovyClassLoader.java:258)
at groovy.lang.GroovyShell.parseClass(GroovyShell.java:613)
at groovy.lang.GroovyShell.parse(GroovyShell.java:625)
at groovy.lang.GroovyShell.parse(GroovyShell.java:605)
at groovy.lang.GroovyShell.evaluate(GroovyShell.java:586)
at org.springframework.beans.factory.groovy.GroovyBeanDefinitionReader.loadBeanDefinitions(GroovyBeanDefinitionReader.java:229)
at org.springframework.beans.factory.groovy.GroovyBeanDefinitionReader.loadBeanDefinitions(GroovyBeanDefinitionReader.java:196)
at org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:180)
at org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:216)
at org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:187)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 week ago
29 more bugmates

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