gpt4 book ai didi

grails - Grails入门包helloworld

转载 作者:行者123 更新时间:2023-12-02 15:54:45 26 4
gpt4 key购买 nike

我试图在W8.1上运行“package helloworld”,并且得到:

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,我觉得自己是个白痴。 ;-)

我一直在Getting Started的helloworld示例中进行跟踪,我认为应该在Grails交互式控制台中添加一个 Action 。我需要做的是编辑在上一步中创建的 Controller 模板脚本。我不好,对此感到抱歉。

谢谢大家

关于grails - Grails入门包helloworld,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/34889884/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com