# Buildship importing of gradle projects failed with Gradle 2.4

**URL:** <https://discuss.gradle.org/t/buildship-importing-of-gradle-projects-failed-with-gradle-2-4/9498>\
**Category:** Buildship\
**Tags:** issue-resolved\
**Created:** [May 6, 2015, 9:49am UTC](https://discuss.gradle.org/t/buildship-importing-of-gradle-projects-failed-with-gradle-2-4/9498 "2015-05-06T09:49:21Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![carlo\_lf](https://sea1.discourse-cdn.com/gradle/user_avatar/discuss.gradle.org/carlo_lf/32/1881_2.png) [@carlo\_lf](https://discuss.gradle.org/u/carlo_lf)\
**Post date:** [May 6, 2015, 9:49am UTC](https://discuss.gradle.org/t/buildship-importing-of-gradle-projects-failed-with-gradle-2-4/9498/1 "2015-05-06T09:49:21Z")

</div>

After upgrading to Gradle 2.4 (from 2.3) and recreating Eclipse .project/.classpath files, I tried to import the projects into Eclipse Luna. After the first failure I updated also my milestone installation of buildship. But this didn’t solve the problem. With Gradle 2.4 and buildship 1.0.0.v20150417-1028-m, it isn’t possible to import my projects.

This is the error message:  
`
Loading the project preview failed.
Could not fetch model of type ‘GradleBuild’ using Gradle installation ‘D:\java\gradle-2.4’.
Most likely the model of that type is not supported in the target Gradle version.
To resolve the problem you can change/upgrade the Gradle version the tooling api connects to.
`

---

<div class="post-metadata">

**Author:** ![donat](https://sea1.discourse-cdn.com/gradle/user_avatar/discuss.gradle.org/donat/32/7798_2.png) [@donat](https://discuss.gradle.org/u/donat)\
**Post date:** [May 6, 2015, 12:20pm UTC](https://discuss.gradle.org/t/buildship-importing-of-gradle-projects-failed-with-gradle-2-4/9498/2 "2015-05-06T12:20:11Z")

</div>

I successfully reproduced the problem you described, thank you very much for reporting it! The root cause is the Tooling API module mismatch between Gradle 2.4 and Buildship. I released a new milestone version, so if you perform an update using the [http://download.eclipse.org/buildship/updates/milestones/1.0](http://download.eclipse.org/buildship/updates/milestones/1.0) site it should work again for you.

---

<div class="post-metadata">

**Author:** ![carlo\_lf](https://sea1.discourse-cdn.com/gradle/user_avatar/discuss.gradle.org/carlo_lf/32/1881_2.png) [@carlo\_lf](https://discuss.gradle.org/u/carlo_lf)\
**Post date:** [May 7, 2015, 3:28pm UTC](https://discuss.gradle.org/t/buildship-importing-of-gradle-projects-failed-with-gradle-2-4/9498/3 "2015-05-07T15:28:04Z")

</div>

Hi Donát,  
I upgraded the buildship milestone and retried. Yes, now it works. Thanks!  
Carlo

---

<div class="post-metadata">

**Author:** ![donat](https://sea1.discourse-cdn.com/gradle/user_avatar/discuss.gradle.org/donat/32/7798_2.png) [@donat](https://discuss.gradle.org/u/donat)\
**Post date:** [May 8, 2015, 10:04am UTC](https://discuss.gradle.org/t/buildship-importing-of-gradle-projects-failed-with-gradle-2-4/9498/4 "2015-05-08T10:04:03Z")

</div>

Closed on May 8, 2015, 10:04am UTC



---

<div class="post-metadata">

**Author:** ![donat](https://sea1.discourse-cdn.com/gradle/user_avatar/discuss.gradle.org/donat/32/7798_2.png) [@donat](https://discuss.gradle.org/u/donat)\
**Post date:** [July 21, 2015, 7:13am UTC](https://discuss.gradle.org/t/buildship-importing-of-gradle-projects-failed-with-gradle-2-4/9498/5 "2015-07-21T07:13:11Z")

</div>

Opened on July 21, 2015, 7:13am UTC


