Grails入门包helloworld

Grails入门包helloworld,grails,grails-3.0,Grails,Grails 3.0,我试图在W8.1上运行“PackageHelloWorld”,我得到: grails> package helloworld | Error Caught exception Could not execute build using Gradle distribution 'http s://services.gradle.org/distributions/gradle-2.3-bin.zip'. Problem with provided build arguments: [-h

我试图在W8.1上运行“PackageHelloWorld”,我得到:

grails> package helloworld  
| Error Caught exception Could not execute build using Gradle distribution 'http
s://services.gradle.org/distributions/gradle-2.3-bin.zip'.
Problem with provided build arguments: [-helloworld].
Unknown command-line option '-h'.
Either it is not a valid build option or it is not supported in the target Gradl
e version.
Not all of the Gradle command line options are supported build arguments.
Examples of supported build arguments: '--info', '-u', '-p'.
Examples of unsupported build options: '--daemon', '-?', '-v'.
Please find more information in the javadoc for the BuildLauncher class. (Use --
stacktrace to see the full trace)

任何帮助都将不胜感激。

nvm,我觉得自己像个白痴。;-)

我一直在关注中的helloworld示例,我想我应该在Grails交互控制台中添加一个操作。我需要做的是编辑在上一步中创建的控制器模板脚本。我的错,对不起


谢谢大家。

你到底想做什么?如果您想生成war,请尝试
grails>assembly
,也可以在grails控制台的帮助下,通过选项卡查看所有可用的命令。