Today I installed Grails on my work laptop.
And then set to try the quick-start example.
I soon ran into a problem when I tried to create my application using the command
grails create-app MyApp
I got the following error
The syntax of the command is incorrect
I spent some time trying to debug the grails.bat file - but soon fell back on time-tested strategy. If someone has solved it- Google will know about it !!!
And it turns out -I had not installed Groovy !!!
Hmmm - I would have thought either Grails should have had groovy bundled with it or at least politely warned me that I do not have Groovy installed.
And whatever happened to the good old message NoClasssDefFoundError ???
Anyways- once I got Groovy - things went pretty smoothly
And I had my simple app- up and ready in no time.
I also did the following…
Setup up my GROOVY_HOME and GRAILS_HOME
Setup the path to include %GROOVY_HOME%\bin and %GRAILS_HOME%\bin
I know - I would have discovered this beforehand- had I taken the time to read the readme.txt - but I think Grails team could have done a better job by prompting with a better message






Recent Comments