升级tomcat9.x的应用至tomcat10.x
下载:https://tomcat.apache.org/download-migration.cgi 目前最新版本 https://dlcdn.apache.org/tomcat/jakartaee-migration/v1.0.7/binaries/jakartaee-migration-1.0.7-shaded.jar
然后对war包进行重新编译,命令为:
java -jar jakartaee-migration-x.x.x-SNAPSHOT-shaded.jar <source> <destination>
其中<source> 填需要迁移的war包的路径,<destination>填生成新war包的路径
如下所示
以上即为在tomcat10以上的war包程序适配tomcat10以后版本的解决方案。
将新包替换至现场后解决问题。
· Obsidian + DeepSeek:免费 AI 助力你的知识管理,让你的笔记飞起来!
· 分享4款.NET开源、免费、实用的商城系统
· 解决跨域问题的这6种方案,真香!
· 5. Nginx 负载均衡配置案例(附有详细截图说明++)
· Windows 提权-UAC 绕过
2013-07-07 DruidDataSource配置