1

这是我尝试启动应用程序时遇到的错误:

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
4

1 回答 1

3

打开 zip 文件或缺少 JAR 清单时出错:C:\Program%20Files%20(x86)\grails3.6\ggts-bundle\grails-2.4.4\lib\org.springframework\springloaded\jars\springloaded-1.2.1 .RELEASE.jar

这个问题很老,但我昨天遇到了同样的问题。解决方案是将 grails 或整个 GGTS-Bundle 复制到名称中没有任何空格的位置。此外,您可能需要更新 springloaded.jar,因为一些 JDK 版本存在错误。请参阅此处此处寻求帮助。

于 2016-02-22T22:23:18.653 回答