在java.library.path中找不到允许在生产环境中实现最佳性能的基于APR的Apache Tom…
2021-6-2 19:55:17 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:\Program Files (x86)\Java\jdk1.6.0_43\bin;C:\windows\Sun\Java\bin;C:\windows\system32;C:\windows;D:/sts-4.8.0.RELEASE//plugins/org.eclipse.justj.openjdk.hotspot.jre.full.win32.x86_64_14.0.2.v20200815-0932/jre/bin/server;D:/sts-4.8.0.RELEASE//plugins/org.eclipse.justj.openjdk.hotspot.jre.full.win32.x86_64_14.0.2.v20200815-0932/jre/bin;C:\windows\system32;C:\windows;C:\windows\System32\Wbem;C:\windows\System32\WindowsPowerShell\v1.0\;C:\Program Files (x86)\Java\jdk1.6.0_43\bin;C:\Program Files (x86)\Java\jdk1.6.0_43\jre\bin;D:\Program Files\Git\cmd;D:\sdk\maven\apache-maven-3.6.3/bin;D:\Program Files\nodejs\;D:\data\node_modules;D:\data\yarn_modules\node_modules\.bin;C:\Program Files (x86)\Microsoft SQL Server\150\DTS\Binn\;D:\sdk\curl-7.73.0-win64-mingw\bin;D:\sdk\android\platform-tools;D:\sdk\android\tools;D:\phpstudy_pro\Extensions\php\php7.3.4nts;D:\phpstudy_pro\Extensions\composer1.8.5;C:\Program Files (x86)\Java\jdk1.6.0_43\bin;C:\Program Files (x86)\Java\jdk1.6.0_43\jre\bin;D:\Users\Administrator\bin\Sencha\Cmd;C:\Users\Administrator\AppData\Roaming\npm;D:\Program Files\Microsoft VS Code\bin;D:\Program Files\JetBrains\IntelliJ IDEA 2020.1\bin;;D:\sts-4.8.0.RELEASE;;.
2021-6-2 19:55:17 org.apache.tomcat.util.digester.SetPropertiesRule begin
从http://archive.apache.org/dist/tomcat/tomcat-connectors/native/1.1.22/binaries/
下载个东西(tcnative-1.dll)放在jdk的bin里面
然后就重新运行tomcat
2021-6-2 19:58:11 org.apache.catalina.core.AprLifecycleListener init
信息: Loaded APR based Apache Tomcat Native library 1.1.22.
2021-6-2 19:58:11 org.apache.catalina.core.AprLifecycleListener init
信息: APR capabilities: IPv6 [false], sendfile [true], accept filters [false], random [true].
2021-6-2 19:58:11 org.apache.tomcat.util.digester.SetPropertiesRule begin
解决了。