grails 3.0.0 I can not create an application

走远了吗. 提交于 2019-11-28 10:07:01

问题


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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!