java web 開發環境

來源:互聯網
上載者:User
1.安裝jdk;2.Tomcat下載安裝,試著開啟:http://localhost:8080/ ,如果能夠顯示,則說明 tomcat正確的安裝了;3.下載安裝myeclipse;4.下載Eclipse Tomcat plugin ,解壓到myeclipse的dropin目錄下;

下面將整個過程中出現的問題記錄如下:

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

http://www.javaeye.com/topic/145770

出現這種情況是這表示沒有找到APR 
簡要解決辦法:去 http://tomcat.heanet.ie/native/ 下載編譯好的tcnative-1.dll檔案,目前最新為1.1.14,拷貝至jdk\bin下,再啟動就可以成功載入APR了。 


http://topic.csdn.net/u/20090111/20/d74c3aa4-697d-4fcc-b034-feaab815e81d.html

記得以前做項目也遇到過在喝種情況,網上說那個方法根本不管用,看看你的javaw.exe進程在運行嗎?(用Ctrl+Alt+del)如果在運行,就stop掉。然後再啟動tomcat試試。

如果還不行的話,我勸樓主別用這個版本的了,就用以前用過的成熟版本的比如JDK1.5,tomcat5.0或者5.5,另外我感覺安裝版的還是比較好用的。

http://it.oyksoft.com/post/750/

相關文檔:http://tomcat.apache.org/tomcat-6.0-doc/apr.html
去這裡http://tomcat.heanet.ie/native/下載最新版本的tcnative-1.dll放到Tomcat的安裝目錄\Bin下
之後重啟Tomcat就OK了。
比如現在我已下載了V1.1.14的tcnative-1.dll,啟動時資訊變成:

引用org.apache.catalina.core.AprLifecycleListener init 
資訊: Loaded Apache Tomcat Native library 1.1.14. 
org.apache.catalina.core.AprLifecycleListener init 
資訊: APR capabilities: IPv6 [false], sendfile [true], accept filters [false], random [true].

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.