啓動tomcat時遇到的問題

1.當啓動Tomcat時,出現了以下信息:java

The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path:
D:\tools\myeclipse\Common\binary\com.sun.java.jdk.win32.x86_64_1.6.0.013\bin;
D:\Program Files (x86)\Apache Software Foundation\Tomcat 7.0\binapache

百度發現,這時由於:tomcat

 找不到 tomcat推薦使用apache的apr(Apache portable Run-time libraries,Apache可移植運行庫).eclipse

解決方法:3d

下載最新的 tcnative-1.dll(版本不要太老)文件,放到本身本地Tomcat/bin目錄下,重啓tomcat便可。orm

下面爲:詳細步驟blog

1.下載地址:http://archive.apache.org/dist/tomcat/tomcat-connectors/native/ip

 

2.io

3.table

4.下載解壓後,對應本身的tomcat版本,若是是32位的,直接選擇:

若是爲64位的,則進入x64目錄下,選擇

5.最後一步,複製該文件,放到本身本地Tomcat/bin目錄下,重啓Tomcat,便可。

相關文章
相關標籤/搜索