2015-12-24 24 views
1

這是當我嘗試啓動應用程序,我得到的錯誤:無法運行的Grails Grails的/ Groovy的工具套件應用3.6

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 
+1

我認爲這裏的問題是對該文件夾文件的訪問權限。嘗試在本地驅動器中提取您的GGTS,而不是在您的OS驅動器中。 –

+0

看到它說彈簧重新加載的jar清單丟失。嘗試從任何其他驅動器而不是C. –

回答

3

錯誤打開zip文件或JAR清單丟失:C: \程序%20Files%20(86)\ grails3.6 \ ggts束\的grails-2.4.4 \ lib中\ org.springframework \彈簧加載\罐\彈簧加載-1.2.1.RELEASE.jar

這問題很老,但我昨天也遇到了同樣的問題。解決方案是將grails或整個GGTS-Bundle複製到一個沒有任何空格的位置。另外,您可能需要更新springloaded.jar,因爲有幾個JDK版本存在錯誤。請參閱herehere尋求幫助。