无法在Grails / Groovy Tool Suite 3.6中运行Grails应用程序

时间:2015-12-24 05:49:32

标签: grails ggts

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

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 个答案:

答案 0 :(得分: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版本存在错误。请参阅herehere寻求帮助。

相关问题