1

This is the error that I am getting when I try to start the application:

grails console
Loading Grails 2.4.4
|Configuring classpathDec 24, 2015 11:14:34 AM java.util.prefs.WindowsPreferences <init>
WARNING: Could not open/create prefs root node Software\JavaSoft\Prefs at root 0x80000002. Windows RegCreateKeyEx(...) returned error code 5.

.
|Environment set to development
.................................
|Packaging Grails application
....................................
|Running Grails application
Error opening zip file or JAR manifest missing : C:\Program%20Files%20(x86)\grails3.6\ggts-bundle\grails-2.4.4\lib\org.springframework\springloaded\jars\springloaded-1.2.1.RELEASE.jar
Error occurred during initialization of VM agent library failed to init: instrument
Error |
Forked Grails VM exited with error
Blackwood
  • 4,504
  • 16
  • 32
  • 41
surya
  • 21
  • 3

1 Answers1

3

Error opening zip file or JAR manifest missing : C:\Program%20Files%20(x86)\grails3.6\ggts-bundle\grails-2.4.4\lib\org.springframework\springloaded\jars\springloaded-1.2.1.RELEASE.jar

This question is old but I struggled the same problem yesterday. The solution was to copy grails or your whole GGTS-Bundle to a location without any spaces in it's name. In addition you might need to update the springloaded.jar since there are a errors with a few JDK versions. See here and here for help.

Community
  • 1
  • 1
Sincostan
  • 361
  • 2
  • 11