• 欢迎访问本网站,技术教程,资源分享,推荐使用最新版火狐浏览器和Chrome浏览器访问本网站,欢迎加入东蓬莱!
  • 如果您觉得本站非常有看点,那么赶紧使用Ctrl+D 收藏东部蓬莱吧

Tomcat启动报:The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path

后台开发 Jokul 2年前 (2019-10-09) 309次浏览 0个评论 扫描二维码

启动Tomcat时候,会报如下错误:

十月 09, 2019 9:02:08 上午 org.apache.catalina.core.AprLifecycleListener lifecycleEvent
INFO: The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: C:\jdk1.7.0_17\bin;C:\WINDOWS\Sun\Java\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\jdk1.7.0_17\jre\bin;C:/Java/jdk1.8.0_181/jre/bin/server;C:/Java/jdk1.8.0_181/jre/bin;C:/Java/jdk1.8.0_181/jre/lib/amd64;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\WINDOWS\System32\OpenSSH\;C:\Java\jdk1.8.0_181\bin;C:\Program Files\NVIDIA Corporation\NVIDIA NvDLISR;C:\Program Files\Git\cmd;C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common;D:\apache-maven-3.6.1\apache-maven-3.6.1-bin\bin;C:\Users\Administrator\AppData\Local\Microsoft\WindowsApps;;C:\jee-neon\eclipse;;.

解决办法:

将tomcat/bin目录 下的 tcnative-1.dll 复制到 jdk/bin 目录下


东部蓬莱 , 版权所有丨如未注明 , 均为原创丨本网站采用BY-NC-SA协议进行授权
转载请注明原文链接:Tomcat启动报:The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path
喜欢 (0)
[支付宝]
分享 (0)
发表我的评论
取消评论
表情 贴图 加粗 删除线 居中 斜体 签到

Hi,您需要填写昵称和邮箱!

  • 昵称 (必填)
  • 邮箱 (必填)
  • 网址