Grails command (create-app test), updating grails dependencies for project test

716 views Asked by At

I am a new Grails user. I downloaded Grails 2.4.4 + SBT. I believe have installed it correctly and, when I try to run a test application, I get the following message (error):

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.

My Java and Grails paths are correctly configured.

So why I'm getting this error?

after adding proxy setting i got this error :

    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

thanks!

1

There are 1 answers

5
Victor On

You probabily is behind a proxy.
Check on the command line: grails list-plugins.
If it fails set your proxy configuration (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