Consider you are using tomcat, springboot by default uses tomcat 7, if you want to change a version to tomcat 8, please add the below code in pom.xml <properties> <tomcat.version>8.0</tomcat.version> </properties> If you want to change server, from tomcat to jetty server the add below code