grails - Grails入门包helloworld

标签 grails grails-3.0

我试图在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/

相关文章:

hibernate - 在加载域之前修改gorm映射

jquery - Grails g:uploadForm重定向

grails - Grails formRemote更新错误的div

grails - 在Grails 3(已确认3.2.6)中,具有空布局的渲染 View 无法正确覆盖默认值

email - Gmail SMTP 的 Grails 邮件插件问题

NetBeans 中的 Grails 3.0 支持

grails-plugin - Grails 3 字段插件从命令对象生成表单元素

grails - jQuery移动样式适用于整个项目-为什么?

grails - 如何在Grails Doc的 Markdown 语言中使用方括号?

hibernate - Grails Gorm静态锁定导致HibernateOptimisticLockingFailureException