Grails 2.3.7 error when creating a new project

烈酒焚心 提交于 2019-12-05 01:31:01
user3446496

I found this thread: Does Grails 2.3.x Support JDK 8

I backed my JDK from version 8 to version 7 (1.7.0_45). That fixed the issue.

Basically grails 2.3.7 (and below) does not support JDK 8 yet.

It's the GGTS, if you just use the command line Grails 2.3.7 works just fine on JDK 8 (also, make sure you have the latest JDK 8).

It's de jdk version and the eclipse.ini file, you will need to install JDK 1.7 or lessen the version.

Change it in

Window>Preferences>Java>Installed JREs

In eclipse.ini add the next two lines

-vm C:\Program Files\Java\jdk1.7.0_79\bin

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!