grails 3.0.0我无法创建应用程序 [英] grails 3.0.0 I can not create an application

查看:97
本文介绍了grails 3.0.0我无法创建应用程序的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我刚刚下载了Grails 3.0.0 (希望看到我的CAS问题奇迹般地消失了;))

我在Windows下安装了它,然后:

  d:\GrailsProjects> grails -version 
| Grails版本:3.0.0
| Groovy版本:2.4.3
| JVM版本:1.7.0_51

然后:

  D:\IntelliJProjects> grails create-app helloworld 
|找不到错误命令create-app
您的意思是:create-script或create-taglib或create-unit-test?

也干净并编译不起作用

我缺少什么?

解决方案

好吧,这是微不足道的(而且很愚蠢)。
在其他项目的项目目录中,有一个名为grails-app的目录,可能是某些移植的剩余部分。这导致了创建应用程序失败。删除目录一切工作正常。


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?

解决方案

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.

这篇关于grails 3.0.0我无法创建应用程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆