After complete the coding part you should face some issue with tomcat must have to follow given step : open cmd then #cd C:\Projects\spring-boot-rest-2 #mvnw clean package #Now run the server: #java -jar target\spring-boot-rest-2-0.0.1-SNAPSHOT.jar