gpt4 book ai didi

java - 如何在 Eclipse 中创建 Groovy 类

转载 作者:太空宇宙 更新时间:2023-11-04 12:33:42 25 4
gpt4 key购买 nike

我的电脑是Macbook pro,电脑的系统版本是:OS X 10.11.4 (OS X El Capitan)

我的Eclipse版本是4.5。

Eclipse已安装Groovy插件(URL为http://dist.springsource.org/milestone/GRECLIPSE/e4.3/);

重新启动我的 Eclipse。

<小时/>

我创建了一个 Groovy 项目 ----> 成功

我创建了一个 Groovy 类 ----> 错误!

有 2 个警报。

第一: ‘构建工作空间’遇到了问题。构建期间发生错误。

error details : Errors occurred during the build.
Errors running builder 'Java Builder' on project 'GroovyJavaProject'.
org/codehaus/jdt/groovy/integration/LanguageSupportFactory

第二个: 创建元素失败。 org.eclipse.jdt.internal.core.CompilationUnit 无法转换为 org.codehaus.jdt.groovy.model.GroovyCompilationUnit。

enter image description here

最佳答案

也许您使用的更新站点不正确

来自Groovy/Grails Tool Suite™ Downloads页面 Eclipse 4.5 的更新链接是 http://dist.springsource.com/release/TOOLS/update/e4.5/ .

我相信您使用的是 Eclipse 4.3。

关于java - 如何在 Eclipse 中创建 Groovy 类,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/37565303/

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