An incompatible version [1.2.12] of the APR based Apache Tomcat Native library is installed, while T

启动spring boot报错

An incompatible version [1.2.12] of the APR based Apache Tomcat Native library is installed, while Tomcat requires version [1.2.14]

是因为这个配置文件的版本太低, 要去官网找到1.2.14版本

http://archive.apache.org/dist/tomcat/tomcat-connectors/native/1.2.14/binaries/

An incompatible version [1.2.12] of the APR based Apache Tomcat Native library is installed, while T

记得下后缀是bin的不是src,以后如何变更版本的话也是一样的方法

然后下载解压出来里面是有64版本的

An incompatible version [1.2.12] of the APR based Apache Tomcat Native library is installed, while T

我看网上说有改C:\Windows\System32 就好

但是我是改了很多的地方的

1。替换tomcat,bin中的文件

2。jdk,bin中的文件

3。jre,bin中的文件