1、下载安装
You can download a pre-configured version of the Eclipse IDE with Groovy and Gradle support from the following website:Spring tools download side.
2、更新安装
Alternatively you can also install the Groovy tooling into an existing Eclipse installation. Open the Eclipse Update manager via theHelp →Install New Software... menu entry to install the Groovy Eclipse plug-in. Enter the following URL in this dialog:
http://dist.springsource.org/snapshot/GRECLIPSE/e4.5/
//dist.springsource.org/snapshot/GRECLIPSE/e4.5/
其他是使用其他版本,可以浏览这个链接,复制对应的更新地址。 Groovy/Grails Tool Suite™ Downloads 。
安装上述,失败,并提示错误,信息如下:
http://dist.springsource.org/snapshot/GRECLIPSE/e4.5/plugins/org.eclipse.jdt.core_3.11.0.xx-201608111527-e45.jar. Read timed out。
解决办法:
清空目录 {user.home}/.eclipse/org.eclipse.oomph.p2/cache to clean ,然后重新安装,应该可以成功。
groovy项目提示错误:Groovy compiler to set the Groovy compiler level for this project
需要安装Groovy compiler对应的版本,然后在groovy项目属性中进行设置,保持编译版本一致。
本文介绍如何在 Eclipse 中安装 Groovy 和 Gradle 支持。提供了预配置下载及手动更新安装两种方式,并解决了安装过程中可能出现的问题。还介绍了如何为 Groovy 项目设置正确的编译器版本。

361

被折叠的 条评论
为什么被折叠?



