SpringBoot内置tomcat出现error:An incompatible version [1.1.32] of the APR based Apache Tomcat Native library is installed, while Tomcat requires version [1.2.14]。解决办法
启动tomcat过程中,发现经常出现一个错误,
2018-03-20 13:32:01.022 ERROR 13152 — [ost-startStop-1] o.a.catalina.core.AprLifecycleListener : An incompatible version [1.1.32] of the APR based Apache Tomcat Native library is installed, while Tomcat requires version [1.2.14]
原因分析:
字面意思就是当前版本为1.1.32,需要重新下载1.2.14以上版本。分析SpringBoot的tomcat为内置环境,所以将新版本文件放在java安装目录下即可。
解决办法:
1.到tomcat官网下载native压缩包
https://tomcat.apache.org/download-native.cgi