1. 程式人生 > >Tomcat啟動慢原因之二 he APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.

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

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