我正在尝试运行"打包helloworld"在W8.1上,我得到:
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)
任何帮助都将不胜感激。
答案 0 :(得分:0)
我跟随Getting Started中的helloworld示例,我想我应该在Grails交互式控制台中添加一个动作。我需要做的是编辑在上一步中创建的控制器模板脚本。我很难过,对不起。
谢谢大家。