且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

DRP问题集结(三)--- The APR based Apache Tomcat Native library which allows optimal performance in product

更新时间:2022-06-12 12:11:52

             问题一:  Tomcat无法启动,报错java.lang.NoClassDefFoundError: org/apache/juli/logging/LogFactory


          问题二:【Error】JavaWeb: 严重: Failed to initialize end point associated with ProtocolHandler ["http-bio-8080"]


          问题三:The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path


       这个问题困扰我不是因为它难解决, 而是因为总是找不到适合的dll,下载了很多次以后我才到与我的tomcat匹配且为64位的dll,下面看下我遇到的问题:


          启动tomcat的时候发现日志里有这么个奇怪的东西:信息: 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\jre1.6.0_05\bin;D:\java\apache-tomcat-7.0.6.0\bin


     这个问题实际上是tomcat建议使用apache的apr,解决办法:是把tcnative-1.dll文件放至 Tomcat 7.0.6.0\bin 目录下

     我已将这个dll上传,欢迎大家下载使用:tcnative-1.dll