idea启动springboot时报:An incompatible version [1.2.12] of the APR based Apache Tomcat Native library is installed, while Tomcat requires version [1.2.14]

Idea报错:

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

原因:tcnative-1.dll的版本不兼容

解决办法:
下载相应的版本:http://archive.apache.org/dist/tomcat/tomcat-connectors/native/1.2.14/binaries/tomcat-native-1.2.14-win32-bin.zip

注意你的电脑是32位,还是64位。如果是64位系统,那么从里面找到"x64"这个文件夹,找到里面的tcnative-1.dll,将这个文件复制copy到:
(1)如果你的tomcat是安装版,则复制到C:WindowsSystem32下覆盖掉tcnative-1.dll,然后重新启动springboot项目即可。
(2)如果你的tomcat是解压版,则要复制到你的tomcat的bin目录下。

原文地址:https://www.cnblogs.com/hunttown/p/13780756.html