升级到 Spring 5 是否需要 Tomcat 8.5+ [英] Does upgrade to Spring 5 require Tomcat 8.5+
问题描述
每个升级Spring 5的教程都要求tomcat 8.5+,但没有详细说明.我要升级的应用程序不应作为带有嵌入式 Web 服务器的独立应用程序运行,而是部署在 tomcat 6 上,由于多种原因我们无法升级.
Every tutorial for the upgrade to Spring 5 has tomcat 8.5+ as a requirement but no detailed explanation. The application that I want to upgrade should not run as a standalone application with an embedded webserver, but beeing deployed on a tomcat 6, which we cannot upgrade for several reasons.
推荐答案
正如@procrastinate_later 指出的那样,Spring 5 实际上需要 Servlet 3.1(和 Tomcat 8.5.x).
As @procrastinate_later points out, Spring 5 actually requires Servlet 3.1 (and Tomcat 8.5.x).
Spring 5 最初预计会有 Servlet 3.0+ 最低要求,仅支持 tomcat 7
Spring 5 has initially was expected to have Servlet 3.0+ minimum requirement which supported only from tomcat 7
我们肯定会提升到 Servlet 3.0+(从我们目前的 Servlet 2.5 运行时兼容性)
We’ll definitely raise to Servlet 3.0+ (from our present Servlet 2.5 runtime compatibility)
所以你至少需要升级到Tomcat 7.
So you need to upgrade to at least Tomcat 7.
这篇关于升级到 Spring 5 是否需要 Tomcat 8.5+的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!