The command "\ bin \ javaw.exe" was aborted because for some time it did not produce a new result

I downloaded the grails project from SVN and tried to run it. Project using grails version 2.0.4. I am using STS version 3.0. I installed JAVA_HOME correctly and added the correct grail compiler to STS.

When I try to start the project, it gives the following error and does not start the launch

The command '\ bin \ javaw.exe' was aborted because for some time it did not generate new output.

Can anybody help?

+4
source share
4 answers

This is a problem with how Grails executes multiple commands through a single external process. If you are in Eclipse (GGTS plugin), go to "Windows> Settings> Groovy> Grails> Launch Grails", then disable the "Keep External Grails Running" option.

+4
source

This also happens in the GGTS.

My workaround for this is to create a Run Configuration. Open Run Configurations, double-click Grails, it will create a new Grails configuration. Rename it, select your project and enter the grails: run-app command. Click Apply or Run.

On the top toolbar, where you drop the configuration configurations, the new configuration should be enabled. Executing this method will not time out.

This STS related problem. Windows β†’ Preferences β†’ Grails β†’ Grails Launch is the place where you can find all the options.

+2
source

I was getting this problem when trying to use run-app from grails command line . Instead, try using the Run menu .

Run -> Run As -> Grails Command (run-app)

See this ticket .

0
source

I encounter the same problem when I try to start a war in my project. I set it using the change option in

Windows β†’ Preference β†’ Groovy β†’ Grails β†’ Launch Grails β†’ Timeout of the Grails Command [ms]

Change the wait time to a large value.

0
source

All Articles