Eclipse Gradle Plugin'无法获取“ [英] Eclipse Gradle Plugin 'could not fetch model of type'

查看:554
本文介绍了Eclipse Gradle Plugin'无法获取“的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用Gradle IDE 3.6.1在OS X上运行Eclipse Luna,并且随时尝试从gradle任务面板中选择一个项目,我得到以下错误:

  org.eclipse.osgi.internal.framework.EquinoxConfiguration $ 1 
无法使用Gradle分发获取类型为EclipseProject的模型
'https://services.gradle .ORG /分布/ gradle-2.0-bin.zip。

有没有人遇到这个错误?我可以找到指定的URL自己下载文件。所以,网络连接不应该是问题。

解决方案

Eclipse 4.4.1打破了非字符串值的Gradle Eclipse支持系统属性。这是在最新的Gradle for 3.6.2版本中修复的。更新您的Gradle表单此更新站点: http://dist.springsource.com/snapshot/工具/毕业/每晚


I am running Eclipse Luna on OS X with Gradle IDE 3.6.1 and anytime I try to select a project from the gradle tasks panel I get the following error:

org.eclipse.osgi.internal.framework.EquinoxConfiguration$1
Could not fetch model of type 'EclipseProject' using Gradle distribution 
'https://services.gradle.org/distributions/gradle-2.0-bin.zip'.

Has anyone else run into this error? I can get to the URL specified to download the file myself. So, network connectivity shouldn't be the problem.

解决方案

Eclipse 4.4.1 broke Gradle Eclipse support with non-string values in system properties.This is fixed in the latest Gradle for the 3.6.2 release. Update your Gradle form this update-site: http://dist.springsource.com/snapshot/TOOLS/gradle/nightly

这篇关于Eclipse Gradle Plugin'无法获取“的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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