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 Files\Java\jre1.8.0_191\bin;C:\Windows\Sun\Java\bin;C:\Windows\system32;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%\bin

%TOMCAT_HOME%\bin

 

如果还不行:

Step 1. 修改%TOMCAT_HOME%\conf\server.xml

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

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

posted @ 2018-11-30 10:37  Liuxiaoke  阅读(493)  评论(0编辑  收藏  举报