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

时间:2014-12-08 09:37:05

标签: java grails ggts

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

The command 'C:\Program Files\Java\jdk1.7.0_17\bin\javaw.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 Files\Java\jdk1.7.0_17\bin\javaw.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 Files\Java\jdk1.7.0_17\bin\javaw.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

谢谢!

1 个答案:

答案 0 :(得分:0)

你可能是代理人的背后 检查命令行: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