Tomcat启动慢原因之二 he APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path

Tomcat启动时提示:

信息: The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: [C:Program FilesJavajre1.8.0_191in;C:WindowsSunJavain;C:Windowssystem32;C:Windows;C:/Program Files/Java/jre1.8.0_191/bin/server;C:/Program Files/Java/jre1.8.0_191/bin;]

解决办法:

前往

http://archive.apache.org/dist/tomcat/tomcat-connectors/native/1.2.8/binaries/

下载

tcnative-1.dll

拷贝至

%JAVA_HOME%in

%TOMCAT_HOME%in

如果还不行:

Step 1. 修改%TOMCAT_HOME%confserver.xml

<!--<Listener className="org.apache.catalina.core.AprLifecycleListener" SSLEngine="on" />-->

Step 2. 重新初始化IDE下的Tomcat服务器配置

原文地址:https://www.cnblogs.com/liuxiaoke/p/10042783.html