When trying to compile newly created app, grails throws java.lang.NoClassDefFoundError. If I try compiling second time, compilation passes without error.
Steps to reproduce:
Last statement produces:
Trying to compile second time, compilation passes.
To get the error again, one must delete ~/.grails/2.0.0.BUILD-SNAPSHOT/projects/sometotallynewapp. After that, above steps will produce the same error again.