3

我在 Mac OS X 10.8.2 (Mountain Lion) 上安装了 grails-2.2.0,并且我正在使用正确安装 grails 和 Java 的 Groovy-Grails-Tool-Suite。但是,当我创建一个新的 Grails 项目时,我收到一条消息说 -

Some projects in your workspace use Grails 2.20 

You are using the Groovy 1.8.6.xx-20120921-2000-e43RELEASE compiler.

Grails requires version range 2.0.0

Various functionality may break if you use an incompatible compiler.

Set Preferences >> Groovy >> Compiler to change the compiler version.

有人遇到过这种情况么。我正在使用基于 Eclipse 4.2 (Juno) 的 GGTS

4

1 回答 1

4

从 GGTS 中的 Dashboard/Extensions 安装 Groovy 编译器,并将 Window -> Preferences -> Groovy -> Compiler 下的编译器更改为 2.x

于 2013-01-23T11:39:07.027 回答