run spring boot application using gradle command code example Example 1: gradle springboot run ./gradlew bootRun Example 2: gradle springboot run ./mvnw spring-boot:run