解决tomcat 启动 An incompatible version [1.1.13] of the APR based Apache Tomcat Native library 错误

使用Eclipse运行tomcat时,有时会出现出现错误:

=org.apache.catalina.core.AprLifecycleListener init
严重: An incompatible version [1.1.13] of the APR based Apache Tomcat Native library is installed, while Tomcat requires version [1.1.29]

解决:当然我们可以到相应的官网去下载一个文件,解压之后找到dll文件(tcnative-1.dll)放到系统的“System32”目录下
解决方案:
访问:http://archive.apache.org/dist/tomcat/tomcat-connectors/native/
解决tomcat 启动 An incompatible version [1.1.13] of the APR based Apache Tomcat Native library 错误
选择一个自己需要的版本
我选的是1.1.29
下载下来,里面有32位和64位的 tcnative-1.dll 文件,根据自己的jdk和tomcat版本选择一个,复制到
jdk 的bin目录;c:\windows\system 32目录;jre的bin目录;tomcat的bin目录下即可。
解决tomcat 启动 An incompatible version [1.1.13] of the APR based Apache Tomcat Native library 错误