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

confile picture confile · Jul 4, 2014 · Viewed 15k times · Source

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

Answer

confile picture confile · Oct 23, 2014

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.