I was just trying to run Grails 3.0.1 in commandline via \"grails\" but it failed with the following stacktrace:
| Error Error occurred running Grails CLI:
I have tried all the things mentioned in different threads, including setting GRAILS_OPTS. The issue seems to go away after running
grails create-app myApp
and create a sample app.
Not sure why, but seems like a connection problem with the Grails repo, which resolved after running the command.