spring-guides / gs-spring-boot

Building an Application with Spring Boot :: Learn how to build an application with minimal configuration.
https://spring.io/guides/gs/spring-boot/
Apache License 2.0
890 stars 4.51k forks source link

Error: Unable to access jarfile build/libs/gs-spring-boot-0.1.0.jar #52

Closed jimshowalter closed 6 years ago

jimshowalter commented 6 years ago

I follow the instructions in https://spring.io/guides/gs/spring-boot/#scratch, but when it says to run:

./gradlew build && java -jar build/libs/gs-spring-boot-0.1.0.jar

the build fails with the above error.

There is message before the failure that says:

Deprecated Gradle features were used in this build, making it incompatible with Gradle 5.0. See https://docs.gradle.org/4.8.1/userguide/command_line_interface.html#sec:command_line_warnings

but everyone online says that's just a warning.

The build doesn't appear to create or download build/libs/gs-spring-boot-0.1.0.jar.

Currently completely blocked on first attempt to use Gradle.