grails - 不兼容的 groovy 编译器版本

标签 grails groovy grails-2.0

我在 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

最佳答案

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

关于grails - 不兼容的 groovy 编译器版本,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/14473609/

相关文章:

jquery-ui - Grails 2.4 包含 jquery-ui

xml - 修改 Groovy 中现有的 xml 文件

grails - WAR 打包错误 : encoded string too long

unit-testing - 由于 View 为空,对 Controller 方法进行单元测试失败

hibernate - Grails 2.5至Grails 3.2 GORM 6

grails - 为什么类名长度为一时,生成的 Controller 中没有注入(inject)服务?

html - 如何在<g:select>或<select>标记中显示也是 map 的 map 的值?

eclipse - 如何使用 Eclipse 调试 SOAP UI 脚本

grails - UrlMapping到Grails中的静态文件

hibernate - 通过Hibernate 4用于 Multi-Tenancy 的Grails的版本