The Maven command to run a Spring boot application is 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