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]

解决:

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

选择binaries/

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

进入bin目录 

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

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

猜你喜欢

转载自blog.csdn.net/readyyy/article/details/87703334
今日推荐