diiferent ways to run spring boot code example
Example 1: diiferent ways to run spring boot
java -Dspring.profiles.active=dev -Xdebug -Xnoagent -Djava.compiler=NONE org.springframework.boot.loader.JarLauncher
Example 2: diiferent ways to run spring boot
java -jar -Dspring.profiles.active=dev -Dserver.port=9090 webapp-1.0.0.SNAPSHOT.jar
Example 3: diiferent ways to run spring boot
java -jar webapp-1.0.0.SNAPSHOT.jar