異常信息:
org.apache.catalina.core.AprLifecycleListener.lifecycleEvent The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the
java.library.path:...............................
問題原因:APR依賴庫缺失
解決方案:
到Apache官方下載,與你版本和系統環境匹配的tcnative-1.dll,複製到tomcat/bin目錄下,重啓服務器即可。
下載地址:http://archive.apache.org/dist/tomcat/tomcat-connectors/native/
如下圖:
按照以上路徑下載下來
可以根據自己所需要的版本來下載,如果不知道就隨便下載一個,啓動tomcat時會給你提示,並告訴你需要的版本
An incompatible version 1.1.22 of the APR based Apache Tomcat Native library is installed, while Tomcat requires version 1.1.32