I'm working through the "Grails in Action" book, and I'm stuck at that part that introduces the grails console. From my project directory, I typed "grails console" to open a console window, and the console even output information indicating it was compiling classes, but when I type this into the console:
new Quote(author:'Larry Wall',content:'There is more than one method to our madness.').save()
I get this error:
unable to resolve class Quote
at line: 1, column: 1
The Quote class exists in Quote.groovy in grails-app/domain/qotd/Quote.groovy
, and I'm not able to run the above command.
What's going wrong here?