Tomcat9及以下升级Tomcat10 部署操作

Tomcat10升级介绍Tomcat10 修补了之前版本的漏洞,主要是JAVAx的漏洞,导致使用javax jar包的项目不能直接部署,需要使用官方工具转换 。
Apache官网提供转换程序
https://github.com/apache/tomcat-jakartaee-migration
Apache官方说明:Users of Tomcat 10 onwards should be aware that, as a result of the move from Java EE to Jakarta EE as part of the transfer of Java EE to the Eclipse Foundation, the primary package for all implemented APIs has changed from javax.* to jakarta.*. This will almost certainly require code changes to enable Applications to migrate from Tomcat 9 and earlier to Tomcat 10 and later. A migration tool has been developed to aid this process.


    推荐阅读