How to run a Spring Boot Application using Maven/ Gradle


  • If you are using Maven as a build tool you can the project as

    mvn spring:run
  • If you are using Gradle as a build tool you can the project as

    gradle bootRun