Closed kentoj closed 10 years ago
Did you edit build.gradle and alter the version, or edit gradle/wrapper any? The failure is in the gradle wrapper trying to download another version of gradle that doesn't seem to exist. Or perhaps you have a very old copy of this guide? If you update to the latest, does it work?
It works for me.
After successfully completing a few other guides (Building a RESTful Web Service, Building Java Projects with Gradle) then running
./gradlew build
gives me a FileNotFoundException as seen in this gist: https://gist.github.com/kentoj/31ef5123d31712594c87I am running the
./gradlew build
command after the "Build an executable JAR" section.The app runs correctly when I try to run it with
java -jar build/libs/gs-consuming-rest-0.1.0.jar
Update: After hitting this issue with the 'consuming-rest' guide I did the actuator-service guide and I was successful in using
./gradlew build
there.