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:
Make sure you have environment variable set correctly.
$cd /Applications/grails/grails-2.3.11/bin
$./grails
When you run this command, necessary files for your grails will be downloaded.
$grails -version
There won't be any errors.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With