how to run gradle spring boot project in sts code example Example 1: gradle springboot run ./gradlew bootRun Example 2: gradle springboot run ./mvnw spring-boot:run