0

我是 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

谢谢!

4

1 回答 1

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
于 2014-12-08T10:53:36.313 回答