Search code examples
spring-boottomcat8

Can I deploy a spring-boot 2.0 WAR on a Tomcat 8.0.x?


spring-boot 2.0 has been available for a week now. The blog posts mention that there's now a Tomcat 8.5 baseline for embedded tomcat.

Does that also mean I need to have a Tomcat 8.5 if I use WAR deployment of my spring-boot 2.0 application, or would a Tomcat 8.0.x still work?


Solution

  • The official Spring Boot 2.0.0 documentation points to Tomcat 8.5 as the baseline version for embedded servers.

    Spring Framework 5.0 itself requires Servlet 3.1+ containers and Tomcat 8.5+ for both embedded and war deployments.

    Although deploying Spring MVC applications to a Tomcat 8.0.x server might still work, it won't be officially supported by Spring Framework nor Spring Boot.