Tomat报错 The APR based Apache Tomcat Native library which allows optimal performance in production

异常信息:

org.apache.catalina.core.AprLifecycleListener.lifecycleEvent The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the
java.library.path:...............................

问题原因:APR依赖库缺失

解决方案:
到Apache官方下载,与你版本和系统环境匹配的tcnative-1.dll,复制到tomcat/bin目录下,重启服务器即可。
下载地址:http://archive.apache.org/dist/tomcat/tomcat-connectors/native/

如下图:

按照以上路径下载下来

可以根据自己所需要的版本来下载,如果不知道就随便下载一个,启动tomcat时会给你提示,并告诉你需要的版本

An incompatible version 1.1.22 of the APR based Apache Tomcat Native library is installed, while Tomcat requires version 1.1.32

 

 

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值