SpringBoot启动报错The APR based Apache Tomcat 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了。

posted @ 2022-11-10 12:58  LightGrass  阅读(85)  评论(0)    收藏  举报