gpt4 book ai didi

eclipse - 常规 : compiler mismatch after installation

转载 作者:行者123 更新时间:2023-12-02 14:56:51 25 4
gpt4 key购买 nike

我正在使用 grails 2.3.4eclipse grails 插件(GGTS)。但是,安装后我创建了一个项目并得到:

  Description   Resource    Path    Location    Type
Groovy: compiler mismatch Project level is: 2.1 Workspace level is 1.8
Groovy compiler level expected by the project does not match workspace compiler level.
Go to Project properties -> Groovy compiler to set the Groovy compiler level for this project test test Groovy compiler mismatch problem

我尝试更改编译器首选项,但没有任何变化...

enter image description here

非常感谢您的回答!

最佳答案

您还可以从 Spring Dashboard 添加扩展并继续使用“相同”工作区。

在仪表板的侧边栏上单击“IDE 扩展”。
选择您需要的 groovy 编译器并单击“安装”。

之后,您可以自定义每个项目以使用您选择的版本进行编译。

单击一个项目,然后单击“项目”>“属性”>“Groovy 编译器”,然后从下拉菜单中选择版本。

例如,最新版本的 Grails(2.4.0) 在 GGTS(3.5.1) 下是“有缺陷的”,除非您安装 Groovy 2.3 编译器扩展并相应地更改您的项目属性。

Grails 2.4 doc whatsNew

Grails 3.0 更新

对于 Grails 3.0.x,您应该安装并使用 Groovy 2.4 编译器

Grails 3.0 doc whatsNew

关于eclipse - 常规 : compiler mismatch after installation,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/21413003/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com