An incompatible version [1.2.25] of the Apache Tomcat Native library is installed,
while Tomcat requires version [1.2.34]
SpringBoot运行报错,但不影响运行:
2023-06-13T22:41:18.796+08:00 ERROR 14604 --- [ main]
o.a.catalina.core.AprLifecycleListener :
An incompatible version [1.2.25] of the Apache Tomcat Native library is installed,
while Tomcat requires version [1.2.34]
下载网址:
http://archive.apache.org/dist/tomcat/tomcat-connectors/native/1.2.34/binaries/
http://archive.apache.org/dist/tomcat/tomcat-connectors/native/2.0.1/binaries/
解决办法:
解压文件 tomcat-native-2.0.1-openssl-3.0.5-win32-bin.zip,从里面找到”x64“,找到里面的tcnative-1.dll
将其复制到路径 C:\Windows\System32 下,如果有就覆盖,我这里原本是没有的