我最近开始学习grails。我能够创建应用程序并生成东西。昨天,我想恢复我的工作,稍事休息后在尝试创建新项目时遇到以下错误:

Command terminated with an exception:
org.grails.ide.eclipse.longrunning.client.GrailsProcessDiedException: Grails process died
(see details for partial output)
Grails process died
------System.out:-----------

------System.err:-----------

仅当我使用SpringSourceTool时,才会发生此错误,如果我尝试使用命令行,它将正常工作。我的第一反应是将Java版本从1.8更改为1.7,但这没有帮助。我的环境变量如下所示(我正在运行Fedora Linux 19)
JAVA_HOME=/usr/lib/jvm/java-1.8.0-openjdk-1.8.0.0.x86_64
GRAILS_HOME=/home/peer/grails/grails-2.3.0

它们也包含在PATH变量中。

有人可以帮忙吗?谢谢,同行

最佳答案

这是STS中的一个已知问题:

https://issuetracker.springsource.com/browse/STS-3277

链接中提供了一种解决方法。

关于grails - 无法在STS中创建Grails项目,但是从命令行创建,我们在Stack Overflow上找到一个类似的问题:https://stackoverflow.com/questions/19182764/

10-14 09:43
查看更多