how to run spring compile from the command line code example Example: run spring boot application command line java -jar target/myJavaProject.jar