Reputation: 315
It´s my first time with gradle , I´m trying to import a gradle project into my Eclipse .
Eclipse Java EE IDE for Web Developers. Version: Photon Release (4.8.0) Build id: 20180619-1200 OS: Windows 10, v.10.0, x86_64 / win32 Java version: 1.8.0_181
using import "Existing Gradle Project" ..I´m getting a error on the
org.gradle.tooling.BuildException: Could not fetch model of type 'GradleBuild' using Gradle distribution 'https://services.gradle.org/distributions/gradle-4.3-bin.zip'.
...... Caused by: org.gradle.internal.exceptions.LocationAwareException: Build file 'C:\WorkArea\os_temp\build.gradle' line: 14
line: 14 --> props.load(new FileInputStream("build.properties")) ....
Caused by: java.io.FileNotFoundException: build.properties (The system cannot find the file specified)
the build.properties is there in the root folder of the project that I´m trying to import
this is the project that i´m trying to import https://github.com/krishagni/openspecimen
thank you Roque
Upvotes: 1
Views: 9199
Reputation: 6917
Local installation directory
for gradle and so on.Note: The import might fail for other reasons as well which might need a different troubleshooting. This worked for me though.
Upvotes: 0
Reputation: 21
I got the same issues for gradle-5.3.1
, but while importing the project:
C:\gradle-5.3.1
C:\gradle-5.3.1\bin
and after this the project imported successfully, it solved my problem. I hope this helps in your case.
Upvotes: 2