我找不到任何关于在 XAMPP 中升级 Tomcat 的明确且有组织的资源,但发现很多人都在问,所以我认为最好分享我所采取的步骤。在本指南中,我将在 Windows 10 上使用 XAMPP 7.4.8,它随 Tomcat 7.0.105 一起提供,并升级到 Tomcat 9.0.37。虽然我尚未使用其他版本的 XAMPP 和 Tomcat 测试以下内容,但本指南应该涵盖大多数(如果不是全部)版本。本指南假设您已经在您选择的操作系统上下载并安装了 XAMPP。
xampp tomcat tomcat7 tomcat9
tomcat ×1
tomcat7 ×1
tomcat9 ×1
xampp ×1