[main] 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:
原因:
Tomcat建议使用apache的apr,来更好的运行Tomcat;
解决:
下载网址http://archive.apache.org/dist/tomcat/tomcat-connectors/native/1.1.22/binaries/win64/x64/
将下载下来的文件放到C:\WINDOWS\system32中即可, 重启tomcat。
出现如下:
org.apache.catalina.core.AprLifecycleListener.init An incompatible version [1.1.22] of the APR based Apache Tomcat Native library is installed, while Tomcat requires version [1.2.14]
解决:重新下载1.2.14版本,重启tomcat。
ARP作用:
Tomcat可以使用ARP提供优越的可伸缩性、性能和更好的整合与本地服务器技术;可以提升Web静态页面的处理能力,不再需要专门的Web Server来处理静态页面了。