Warning: file_get_contents(/data/phpspider/zhask/data//catemap/8/grails/5.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
配置grails代理_Grails_Groovy_Ggts - Fatal编程技术网

配置grails代理

配置grails代理,grails,groovy,ggts,Grails,Groovy,Ggts,在文件BuildConfig.groovy中添加代理配置后 此命令 grails add-proxy client --host=192.168.1.1 --port=3128) 我得到了这个错误: 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

在文件BuildConfig.groovy中添加代理配置后 此命令

grails add-proxy client --host=192.168.1.1 --port=3128)
我得到了这个错误:

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

出什么问题了

你真的把收尾放在港口的尽头了吗?代理是否正常工作?您是否可以连接telnet 192.168.1.1 3128或windows使用的任何设备?代理是否需要身份验证?代理日志中有错误吗?是的,代理工作得很好。不,端口末端没有关闭。没有代理不需要身份验证。请发布或说明如何创建proxySettings.groovy文件?您是否尝试引用参数?e、 g.grails add proxy client-host=192.168.1.1-port=3128执行问题:grails add proxy client-host=192.168.1.1-port=3128命令'C:\Program Files\Java\jdk1.7.0_17\bin\javaw.exe 9 déC。2014年12:21:26“因一段时间内未产生新产量而终止。请参阅到目前为止生成的输出的详细信息。如果您认为该命令只需要更多时间,那么可以在Grails首选项页面中增加时间限制。请参见菜单Windows>>首选项>>Grails>>启动命令:C:\Program Files\Java\jdk1.7.0_17\bin\javaw.exe 9 déC。2014 12:21:26-System.out-|加载Grails 2.4.4 |配置类路径