Skip to main content
 首页 » 编程设计

eclipse mars 安装groovy插件

2022年07月19日142kerrycode

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项目属性中进行设置,保持编译版本一致。


本文参考链接:https://blog.csdn.net/neweastsun/article/details/52681846