无法从命令提示符运行Grails - 获取错误

时间:2013-04-03 07:36:18

标签: grails grails-2.0

Error opening zip file or JAR manifest missing : `D:/ESSENTIAL`

Error occurred during initialization of VM

agent library failed to init: instrument

SYSTEM VARIABLE

JAVA_HOME =C:\Program Files (x86)\Java\jdk1.7.0
GRAILS_HOME=D:\ESSENTIAL SOFTWERE\grails-2.2.0\grails-2.2.0

path=C:\Program Files (x86)\Intel\iCLS Client\;C:\Program Files\Intel\iCLS Client\;%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;%SYSTEMROOT%\System32\WindowsPowerShell\v1.0\;C:\Program Files\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files\Intel\Intel(R) Management Engine Components\IPT;C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\IPT;C:\Program Files (x86)\Intel\OpenCL SDK\2.0\bin\x86;C:\Program Files (x86)\Intel\OpenCL SDK\2.0\bin\x64;C:\Program Files (x86)\Java\jdk1.7.0\bin;D:\ESSENTIAL SOFTWERE\grails-2.2.0\grails-2.2.0\bin

2 个答案:

答案 0 :(得分:0)

最好将JDK安装到没有空格的路径上。尝试重新安装到例如JAVA_HOME=C:\Java\jdk1.7.0

答案 1 :(得分:0)

  

GRAILS_HOME = D:\ ESSENTIAL SOFTWERE \ grails-2.2.0 \ grails-2.2.0 ........我找到了这个问题的解决方案......并且文件夹名称中的空格意味着ESSENTIAL SOFTWERE对我来说是套管错误...我已将文件夹重命名为essentialsoftwere,没有任何空间,我可以从comman promt运行grails