问题
I just downloaded Grails 3.0.0 (hoping to see my problems with CAS magically disappearing ;) )
I installed it under windows and then:
D:\GrailsProjects> grails -version
| Grails Version: 3.0.0
| Groovy Version: 2.4.3
| JVM Version: 1.7.0_51
and then:
D:\IntelliJProjects>grails create-app helloworld
| Error Command not found create-app
Did you mean: create-script or create-taglib or create-unit-test?
also clean and compile don't work
What am I missing?
回答1:
ok that was trivial (and rather stupid). In the "project directory" among other projects there was a directory called grails-app, probably leftover of some porting. This caused the create-app to fail. Removed the directory everything works fine.
来源:https://stackoverflow.com/questions/29395785/grails-3-0-0-i-can-not-create-an-application