在运行SpringBoot时出现一个error
2024-05-08T20:52:06.512+08:00 ERROR 20752 --- [springboot3-003-demo]
[ main] o.a.catalina.core.AprLifecycleListener : An incompatible version
[1.2.16] of the Apache Tomcat Native library is installed, while Tomcat requires version [1.2.34]
字面意思就是当前版本为1.2.16,需要重新下载1.2.16以上版本。分析SpringBoot的tomcat为内置环境,所以将新版本文件放在java安装目录下即可。
发现运行成功没有发现报错