Aug 3rd, 2012, 11:15 PM
Cannot run program "git"
STS 3.0.0M3, Grails 2.0.4, Windows XP. Everytime I do a run-app I get this:
| Loading Grails 2.0.4
| Configuring classpath.
| Environment set to development.....
| Downloading: plugins-list.xml.....
| Packaging Grails application
java.io.IOException: Cannot run program "git": CreateProcess error=2, The system cannot find the file specified
I can't find any reference to git in my project, tried installing git and adding it to the classpath, no luck there. Any idea why this is happening and how I stop it?
Last edited by alvasakima; Aug 4th, 2012 at 11:11 AM.
Reason: adding the OS
Aug 5th, 2012, 11:28 PM
I don't immediately know why executing grails is causing git to be invoked. Can you open your eclipse error log and look for relevant errors? Window -> Show view -> Other... -> Error log.
Also, try running grails on the command line. Same behavior?
Lastly, what kind of grails app is this? Is it a new app, or are you trying to run an existing one?
Tags for this Thread