2013-01-23 79 views
3

我在Mac OS X 10.8.2(Mountain Lion)上安装了grails-2.2.0,我正在使用正确安装grails和Java的Groovy-Grails-Tool-Suite。但是,当我创建一个新的Grails项目时,我收到一条消息 -不兼容的groovy编译器版本

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(麦浚龙)GGTS

+1

请参阅http:// stackoverflow.com/questions/14189786/grails-2-2-0-support-in-eclipse/14189867#14189867 – coderLMN

回答

4

从GGTS仪表板/扩展和改变编译器安装Groovy编译器在窗口 - >首选项 - > Groovy中 - >编译器到2.x