Spring Boot 启动错误:An incompatible version [1.1.30] of the APR based Apache Tomcat Native library 。。。

一、错误信息:An incompatible version [1.1.30] of the APR based Apache Tomcat Native library is installed, while Tomcat requires version [1.2.14]

Spring Boot 启动错误:An incompatible version [1.1.30] of the APR based Apache Tomcat Native library 。。。

解决:

http://archive.apache.org/dist/tomcat/tomcat-connectors/native/选择自己对应的版本

Spring Boot 启动错误:An incompatible version [1.1.30] of the APR based Apache Tomcat Native library 。。。

 

选择binaries/

Spring Boot 启动错误:An incompatible version [1.1.30] of the APR based Apache Tomcat Native library 。。。

选择tomcat-native-1.2.14-win32-bin.zip 这个文件下载并解压

 

Spring Boot 启动错误:An incompatible version [1.1.30] of the APR based Apache Tomcat Native library 。。。

进入bin目录 

Spring Boot 启动错误:An incompatible version [1.1.30] of the APR based Apache Tomcat Native library 。。。

tcnative-1.dll就是我们需要的文件(这里是32位的,64位的在x64文件夹内)

Spring Boot 启动错误:An incompatible version [1.1.30] of the APR based Apache Tomcat Native library 。。。

 

Spring Boot 启动错误:An incompatible version [1.1.30] of the APR based Apache Tomcat Native library 。。。

然后将文件拷贝到jdk的bin目录中或者是jre的bin目录中(或者将文件拷贝到C:\Windows\System32)即可