这是我尝试启动应用程序时遇到的错误:
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
最佳答案
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
这个问题很旧,但昨天我也遇到了同样的问题。解决方案是将grails或整个GGTS-Bundle复制到名称中没有任何空格的位置。另外,由于某些JDK版本存在错误,因此您可能需要更新springloaded.jar。有关帮助,请参见here和here。
关于grails - 无法在Grails/Groovy Tool Suite 3.6中运行Grails应用程序,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/34447922/