Tomcat发生异常

9/6/2015来源:Java教程人气:2470

Tomcat发生异常The Apache Tomcat Native library which allows optimal performance in PRoduction environments was not found on the java.library.path

今天 ,我在Eclipse中启动Tomcat6.0时,发生如下异常:

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

解决如下:

在http://tomcat.heanet.ie/native/下载dll文件:tcnative-1.dll(现在版本是1.1.14)

把它扔到jdk的bin目录下,即可。