Grails命令(create-app test),更新grails依赖项以进行项目测试



我是Grails的新用户。我下载了Grails 2.4.4 + SBT。我相信有正确安装了它,当我尝试运行测试应用程序时,我收到以下消息(错误):

The command 'C:Program FilesJavajdk1.7.0_17binjavaw.exe (4 déc. 2014 16:12:47)' was terminated because it didn't produce new output for some time. See details for the output produced so far.

我的 Java 和 Grails 路径配置正确。

那么为什么我会收到此错误?

添加代理设置后,我收到此错误:

    Problem executing: grails add-proxy toto --host=192.168.1.1 --port=3128 
    The command 'C:Program FilesJavajdk1.7.0_17binjavaw.exe 
    was terminated because it didn't produce new output for some time.
    See details for the output produced so far.


If you think the command simply needed more time, you can increase the time           limit in  the Grails preferences page.

See menu Windows >> Preferences >> Grails >> Launch
Command: C:Program FilesJavajdk1.7.0_17binjavaw.exe (8 déc. 2014 13:30:47)
---- System.out ----
|Loading Grails 2.4.4
|Configuring classpath
---- System.err ----
Terminating process: Timeout: no new output for 180000 milliseconds
------System.out:-----------
|Loading Grails 2.4.4
|Configuring classpath
------System.err:-----------
Terminating process: Timeout: no new output for 180000 milliseconds

谢谢!

您可能在代理后面。
在命令行上检查:grails list-plugins
如果失败,请设置代理配置 (http://grails.org/doc/latest/ref/Command%20Line/set-proxy.html):

grails add-proxy client --host=proxy-server --port=4300 
       --username=guest --password=guest
grails set-proxy client

相关内容

  • 没有找到相关文章

最新更新