run spring project in cli code example Example: run spring boot application command line java -jar target/myJavaProject.jar