Use Jetty instead of Tomcat in Java Spring Boot November 19, 2016 configurations { compile.exclude module: "spring-boot-starter-tomcat" } dependencies { compile("org.springframework.boot:spring-boot-starter-web:1.4.2.RELEASE") compile("org.springframework.boot:spring-boot-starter-jetty:1.4.2.RELEASE") // ... } Reference http://docs.spring.io/spring-boot/docs/current/reference/html/howto-embedded-servlet-containers.html#howto-use-jetty-instead-of-tomcat Related