ps:还是安装不了,提示springsource的groovy每个jar read time out.
于是下载了个离线包 解压后copy到eclipse
http://download.csdn.net/download/add166/9569795
···················································
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 the → menu entry to install the Groovy Eclipse plug-in. Enter the following URL in this dialog:
http://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项目属性中进行设置,保持编译版本一致。