gradle spring boot run command code example Example 1: run maven spring boot project command line ./mvnw spring-boot:run Example 2: gradle springboot run ./gradlew bootRun