Run the program with: nohup mvn spring-boot:run & Todo: for some unknown reasons, the packaged jar does not work. Unless you run the program with mvn spring-boot:run.