launch spring app code example
Example 1: run maven spring boot project command line
./mvnw spring-boot:run
Example 2: diiferent ways to run spring boot
java -jar -Dspring.profiles.active=dev -Dserver.port=9090 webapp-1.0.0.SNAPSHOT.jar
./mvnw spring-boot:run
java -jar -Dspring.profiles.active=dev -Dserver.port=9090 webapp-1.0.0.SNAPSHOT.jar