how to run spring boot application code example
Example 1: spring boot run command
mvn spring-boot:run
Example 2: run maven spring boot project command line
./mvnw spring-boot:run
Example 3: run spring boot application command line
java -jar target/myJavaProject.jar
Example 4: diiferent ways to run spring boot
java -jar webapp-1.0.0.SNAPSHOT.jar
Example 5: diiferent ways to run spring boot
java -Dspring.profiles.active=dev -Xdebug -Xnoagent -Djava.compiler=NONE org.springframework.boot.loader.JarLauncher