首页 > 其他分享 >SpringBoot启动报错The APR based Apache Tomcat Native..

SpringBoot启动报错The APR based Apache Tomcat Native..

时间:2022-11-10 13:12:29浏览次数:66  
标签:based SpringBoot Tomcat APR 报错 Apache Native

SpringBoot项目启动报错The APR based Apache Tomcat Native l...


一、报错信息

2022-11-10 09:50:53 org.apache.catalina.core.AprLifecycleListener init
信息: The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: D:\SoftWare\Mini\jdk1.8.0_202\bin;

二、出错原因

没有找到APR

三、解决办法

前往 http://archive.apache.org/dist/tomcat/tomcat-connectors/native/ 下载编译好的tcnative-1.dll文件,找到项目缺失的版本,拷贝至jdk路径\bin下,再启动就可以成功加载APR了。

标签:based,SpringBoot,Tomcat,APR,报错,Apache,Native
From: https://www.cnblogs.com/LightGrass/p/16876718.html

相关文章