方法一:
下载tcnative-1.dll文件,放在C:/Windows/System32下。下载地址见附件。
方法二:
打开conf/server.xml这个配置文件,找到下面这行:
<Server port="8005" shutdown="SHUTDOWN"> <!--APR library loader. Documentation at /docs/apr.html --><br> <!-- 下面这行本来是没有注释的,现在将这一行注释了,你的问题就暂时不会出现了 --> <!--<Listener className="org.apache.catalina.core.AprLifecycleListener" SSLEngine="on" />--> <!--Initialize Jasper prior to webapps are loaded. Documentation at /docs/jasper-howto.html --> <Listener className="org.apache.catalina.core.JasperListener" /> <!-- Prevent memory leaks due to use of particular java/javax APIs--> <Listener className="org.apache.catalina.core.JreMemoryLeakPreventionListener" /> <!-- JMX Support for the Tomcat server. Documentation at /docs/non-existent.html --> <Listener className="org.apache.catalina.mbeans.ServerLifecycleListener" /> <Listener className="org.apache.catalina.mbeans.GlobalResourcesLifecycleListener" />
这行配置注释了即可关闭APR,至于问题最完美的解决方案,我这里还没有,只能解一时之需,如有更好的解决方式,请留言告诉我,彼此交流,谢谢!
相关推荐
TOMCAT昨天突然自己宕掉服务了,怎么重起都不行,后来查看logs中catalina.out 日志发现如下错误 INFO: The Apache Tomcat Native library which allows optimal performance in production environments was not ...
The Apache Tomcat Native Liberay which allows optimal performance in production environments was not found on the java.library.path:E:\java\jdk1.5.0_05
The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path CProgram FilesJavajdk1.6.0_04jrebin;CProgram FilesTomcat ...
tcnative-1.dll 1.2.18 tomcat 启动报错 The APR based Apache Tomcat Native library which allows optimal performance in production 问题的解决需要这个,注意自己需要什么版本,之前下了1.2.14 显示版本不对:...
The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path 2、第二个错误,错误详情: Exception in thread “main” ...
解决tomcat启动时如下异常:The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path
运行Tomcat的时候,报错如下:解决tomcat启动时如下异常:The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path ...
Tomcat启动: The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path
解决The APR based Apache Tomcat Native library which allows optimal performance in production environm;解决tomcat启动时如下异常:在java.library.path中找不到基于APR的Apache Tomcat Native库,它可以在...
tcnative-1.dll 1.2.14 tomcat 启动报错The APR based Apache Tomcat Native library which allows optimal performance in production 问题的解决需要这个
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.6.0_04\jre\bin;C:\Program ...
信息: The Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: D:\Java\jre1.5.0_11\bin;.;C:\WINDOWS\system32;C:\WINDOWS;C:\...
1.解决:The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path... 2.用法:win+R 到C:\Windows\System32里面去 ,...
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.6.0\bin 用tcnative-1.dll1.4.8...
The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path:报此错误,查网页说是tcnative-1.dll文件放到tomcat\bin下即可...
信息: The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: D:\study tools\Java\jdk1.5.0_06\bin;.;C:\WINDOWS\...
在解决SpringBoot 2.0启动日志中出现的"The APR based Apache Tomcat Native library which allows optimal performance"问题时,我们需要理解Apache HTTP Server与Tomcat的关系以及APR(Apache Portable Runtime)...
最近在做实训项目的时候使用到了 ssm框架...信息: The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: D:\java\jdk\b