eclipse升级后出现Groovy失败 [英] Groovy failures after upgrading eclipse

查看:99
本文介绍了eclipse升级后出现Groovy失败的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

最近升级到Eclipse 2020-12(4.18.0),自此以后Groovy一直无法使用.

Recently upgraded to Eclipse 2020-12 (4.18.0) and Groovy hasn't worked since.

没有任何改进的Groovy升级.

Upgraded Groovy with no improvement.

现在正在运行(展开所有已安装的东西"树)

Now running (expanding all the "What's installed" tree)

  • Eclipse Groovy开发工具org.codehaus.groovy.eclipse.feature.feature.group
  • Groovy编译器2.5 org.codehaus.groovy25.feature.feature.group
  • Groovy-Eclipse无编译器功能org.codehaus.groovy.compilerless.feature.feature.group
  • Groovy-Eclipse无头功能org.codehaus.groovy.headless.feature.feature.group
  • 用于Groovy org.codehaus.groovy.jdt.patch.feature.group的Eclipse JDT Core补丁
  • Groovy编译器3.0 org.codehaus.groovy30.feature.feature.group

全部具有4.0.0.v202012311505-e2009-RELEASE版本.但是,用于Groovy的Eclipse JDT Core补丁"的条目不多.插件图标上有一个红色的"+".

All with version 4.0.0.v202012311505-e2009-RELEASE. However, the entry for "Eclipse JDT Core patch for Groovy" has a red '+' overlaid on its plugin icon.

请参阅Eclipse日志,不断报告 java.lang.NoClassDefFoundError:org/codehaus/jdt/groovy/integration/LanguageSupport .我假设未正确安装修补的JDT Core,但不确定下一步该怎么做.

Referring to the Eclipse log, java.lang.NoClassDefFoundError: org/codehaus/jdt/groovy/integration/LanguageSupport is being reported constantly. I'm assuming the patched JDT Core is not installed correctly but not sure what to do next.

推荐答案

对我来说,我无法打开groovy文件,我得到的只是一个空白的编辑器窗格.最初,我是在日食市场上安装groovye-eclipse的.

For me I couldn't open groovy files, all I got was a blank editor pane. Initially I installed groovye-eclipse from eclipse market place.

@emilles评论被发现.我确实安装了错误的版本.卸载并添加特定于我的Eclipse版本(2020-12)的新更新站点后,它可以正常工作.我可以打开和编辑groovy文件.

@emilles comment was spot on. I did have an incorrect version installed. After uninstalling and adding new update site specific to my eclipse version (2020-12) it works fine. I can open and edit groovy files.

这篇关于eclipse升级后出现Groovy失败的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆