Grails - 错误分叉的Grails虚拟机退出时出错 [英] Grails - Error Forked Grails VM exited with error

查看:126
本文介绍了Grails - 错误分叉的Grails虚拟机退出时出错的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

首先我想说的是,我是Grails的初学者,在尝试遵循一些示例时,我一直在收到一个我无法解决的错误,所以如果问题很愚蠢,那么很抱歉。



我通过命令行创建了一个虚拟应用程序,并试图以同样的方式运行它(run-app),但出现以下错误:



正在运行的Grails应用程序
初始化VM时发生错误打开zip文件或JAR清单丢失时出错:C:... \grails-2.3.1 \lib\org.springsource.springloaded-core\jars\springloaded-core-1.1.4.jar代理库未能初始化:仪器。
错误分叉的Grails虚拟机退出错误
我使用Grails 2.3.1和jdk 1.7.0_25



我也检查了示例中列出的文件夹的内容,它也包含常规jar和sources.jar。



任何帮助将不胜感激。

解决方案

我也有同样的错误,GRAILS_HOME在路径名中不能有空格。我删除了带路径名的GRAILS_HOME,并将grails移动到一个没有空间的位置,现在它工作正常:)。这里是我找到的链接:
http://jira.grails.org/browse/ GRAILS-7936


First of all I would like to say that I am a beginner with Grails and while trying to follow some examples I kept getting an error I was unable to solve, so sorry if the question is stupid.

I created a dummy app through the command line, and tried to run it the same way (run-app) but I get the following error:

Running Grails application Error occurred during initialization of VM Error opening zip file or JAR manifest missing : C:...\grails-2.3.1\lib\org.springsource.springloaded-core\jars\springloaded-core-1.1.4.jar agent library failed to init: instrument. Error Forked Grails VM exited with error

I am using Grails 2.3.1 and jdk 1.7.0_25

I also checked the content of the folder listed on the example, and it contains the regular jar and the sources.jar as well.

Any help would be appreciated.

解决方案

I also had the same error, GRAILS_HOME cannot have space in path name. I remove the GRAILS_HOME, with path name and moved grails to a location without space and now it's working fine :). Here is the link I found: http://jira.grails.org/browse/GRAILS-7936

这篇关于Grails - 错误分叉的Grails虚拟机退出时出错的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆