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

Missing ./gradlew #33

Closed jest closed 7 years ago

jest commented 7 years ago

When following the guide with Gradle build path from scratch, the following command

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

cannot be performed, as there is no gradlew — it hasn't been created anywhere previously. So either create one with gradle wrapper, or change ./gradlew with gradle in that line.

dsyer commented 7 years ago

It's here: https://github.com/spring-guides/gs-spring-boot/blob/master/complete/gradlew.

jest commented 7 years ago

I know where it is. :) But when you follow the Getting Started on the web (https://spring.io/guides/gs/spring-boot/) there's no gradlew, because you never clone the repo.