Grails – Error Forked Grails VM exited with error


First of all I would like to say that I am a beginner with Grails and while trying to follow some examples I kept getting an error I was unable to solve, so sorry if the question is stupid.

I created a dummy app through the command line, and tried to run it the same way (run-app) but I get the following error:

Running Grails application
Error occurred during initialization of VM Error opening zip file or JAR manifest missing : C:…\grails-2.3.1\lib\org.springsource.springloaded-core\jars\springloaded-core-1.1.4.jar agent library failed to init: instrument.
Error Forked Grails VM exited with error

I am using Grails 2.3.1 and jdk 1.7.0_25

I also checked the content of the folder listed on the example, and it contains the regular jar and the sources.jar as well.

Any help would be appreciated.

Best Solution

I also had the same error, GRAILS_HOME cannot have space in path name. I remove the GRAILS_HOME, with path name and moved grails to a location without space and now it's working fine :). Here is the link I found:

Related Question