Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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
like image 500
confile Avatar asked Jul 04 '14 15:07

confile


1 Answers

Solution:

Make sure you have environment variable set correctly.

  1. Go to grails/bin folder $cd /Applications/grails/grails-2.3.11/bin
  2. Then run grails from command line $./grails

When you run this command, necessary files for your grails will be downloaded.

  1. Close your terminal
  2. Now check your grails version from terminal $grails -version

There won't be any errors.

like image 148
sgiri Avatar answered Oct 30 '22 06:10

sgiri