2020-04-03 10:33:53.353 INFO 2960 --- [ost-startStop-1] o.a.catalina.core.AprLifecycleListener : 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\jdk1.8.0_202\bin;C:\windows\Sun\Java\bin;C:\windows\system32;C:\windows;C:\Program Files (x86)\Common Files\Oracle\Java\javapath;C:\windows\system32;C:\windows;C:\windows\System32\Wbem;C:\windows\System32\WindowsPowerShell\v1.0\;D:\CoderSoft\PHPStudy\PHPTutorial\php\php-7.1.13-nts\;C:\ProgramData\ComposerSetup\bin;C:\Program Files\nodejs\;C:\Program Files\Java\jdk1.8.0_202\bin;C:\Program Files\Java\jdk1.8.0_202\jre\bin;D:\apache-maven-3.3.9\bin;C:\Program Files\Git\cmd;C:\Program Files\TortoiseGit\bin;C:\Users\Administrator\AppData\Local\Microsoft\WindowsApps;C:\Users\Administrator\AppData\Roaming\Composer\vendor\bin;C:\Users\Administrator\AppData\Roaming\npm;.]
2020-04-03 10:33:53.493 INFO 2960 --- [ost-startSto
springboot启动报错The APR based Apache Tomcat Native library which allows optimal performance in product
最新推荐文章于 2022-04-27 10:52:58 发布
在尝试启动SpringBoot应用时遇到错误,提示'The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found'。这表明缺少了Apache Tomcat Native库,该库能提升生产环境中的性能。解决方法通常包括添加对应的JNI库到系统路径,或者调整SpringBoot的配置来避免依赖这个库。
摘要由CSDN通过智能技术生成