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

最近学习springboot时发现idea启动时日志报的两个error,虽然不影响运行,但是也不想看到,于是百度处理一波.

An incompatible version [1.2.12] 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/1.2.14/binaries/

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

然后从里面找到"x64"这个文件夹,找到里面的tcnative-1.dll,将这个文件复制copy到我们的电脑的这个路径下:C:\Windows\System32覆盖掉tcnative-1.dll.然后重新启动springboot项目即可.

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