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

标签 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

最佳答案

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。有关帮助,请参见herehere

关于grails - 无法在Grails/Groovy Tool Suite 3.6中运行Grails应用程序,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/34447922/

相关文章:

sql-server - Hibernate4,Grails 2.5-缓存的数据在两次重启之间仍然存在吗?

grails - grails <gui:tab。通过模型

grails - Groovy Grails工具套件安装

Grails、GGTS 设置

oracle - 域类映射:数据源不起作用

grails - grails不保存就插入DB,为什么呢?

grails - 在NetBeans中创建Grails项目时出错

unit-testing - 如何在 Grails 中模拟域对象的静态方法?

grails - 在GGTS中找不到配置VisualVM

twitter-bootstrap - 在 GGTS 中使应用程序响应