tomcat启动时控制台打印org.apache.catalina.core.AprLifecycleListener.init An incompatible version 1.1.0 of the APR based Apache Tomcat Native library is installed, while Tomcat requires version 1.1.32

这是由于Apache Tomcat Native library 就是APR(Apache Portable Runtime),这里的意思是建议使用apache的apr,同时要保证APR版本一致。由提示可以看出当前版本是1.1.30,但是本机是1.2.6,所以需要下载对应的版本。

 

 

下载对应的APR文件放到Tomcat的bin目录下面,其实这里边放到哪里都可以,前提是这个目录在系统的环境变量里面。

APR下载地址是:http://archive.apache.org/dist/tomcat/tomcat-connectors/native/

posted on 2018-03-04 11:30  AJin0802  阅读(353)  评论(0编辑  收藏  举报

导航