Spring Boot Parameters Shows how to run a Spring Boot project with custom parameters To run the project with Gradle gradle bootRun To run the project with Maven mvn spring-boot:run Read this as reference https://josdem.io/techtalk/spring/spring_boot_parameters/