maven start spring boot app code example
Example 1: spring boot run command
mvn spring-boot:run
Example 2: diiferent ways to run spring boot
java -jar webapp-1.0.0.SNAPSHOT.jar
mvn spring-boot:run
java -jar webapp-1.0.0.SNAPSHOT.jar