工作笔记0001-严重: An incompatible version 1.1.30 of the APR based Apache Tomcat Native library is install

新工作,刚到公司,按照老板的指示把代码从git上clone下来,导入到eclipse,准备先跑一跑,tomcat启动时报如下错误:

 严重: An incompatible version 1.1.30 of the APR based Apache Tomcat Native library is installed, while Tomcat requires version 1.1.32

告诉我本地的arp为1.29,tomcat需要1.30,最后找到解决办法如下:

1.访问 以下网址:

http://archive.apache.org/dist/tomcat/tomcat-connectors/native/

2.找到你需要的版本:

注意是binaries下边的文件。

工作笔记0001-严重: An incompatible version 1.1.30 of the APR based Apache Tomcat Native library is install

3.下载后将里边的cnative-1.dll,文件复制到你的tomcat bin目录下 ,解决问题。

工作笔记0001-严重: An incompatible version 1.1.30 of the APR based Apache Tomcat Native library is install

到这里:

 

工作笔记0001-严重: An incompatible version 1.1.30 of the APR based Apache Tomcat Native library is install