Search code examples
javagrailsgroovygrails-2.0

org.codehaus.groovy.grails.cli.support.GrailsStarter not found error


After updating from Grails 2.3.10 to 2.3.11 and updating the path variable to

export GRAILS_HOME=/Applications/grails/grails-2.3.11

When I run: grails I get the following error:

Error: Main class org.codehaus.groovy.grails.cli.support.GrailsStarter could not be found

Solution

  • I found the solution. If you go to the grails/bin folder and run grails from the command line you can close the console afterwards and when you open the console again the problem will be fixed.