optimal performance in production environments was not found on the java.library.path最简单解决方法

启动tomcat时,报如下错误:

七月 28, 2019 9:22:23 下午 org.apache.catalina.core.AprLifecycleListener init
信息: The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: C:\intellijddc\jdk1.7.0_67\bin;C:\Windows\Sun\Java\bin;C:\Windows\system32;C:\Windows;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files\Git\cmd;C:\Users\Administrator\AppData\Local\Microsoft\WindowsApps;;.
 

最简单的解决方法:

在tomcat中找到server.xml文件,把如下代码注释掉:

 

你可能感兴趣的:(JAVA)