2012-06-13 49 views
1

我想在我的eclipse indigo中運行struts2的helloworld教程。當我啓動我的Tomcat服務器時,在控制檯窗口中收到以下消息。突出顯示的位是我無法理解的位。運行Struts2 helloWorld教程中的小故障[TOMCAT]

Jun 13, 2012 1:12:28 PM org.apache.catalina.core.AprLifecycleListener init 

**INFO: 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\jre7\bin;C:\Windows\Sun\Java\bin;C:\Windows\system32;C:\Windows;C:\Windows\System32;** 

**Jun 13, 2012 1:12:28 PM org.apache.tomcat.util.digester.SetPropertiesRule begin 
WARNING: [SetPropertiesRule]{Server/Service/Engine/Host/Context} Setting property 'source' to 'org.eclipse.jst.jee.server:StrutsExample1' did not find a matching property.** 

Jun 13, 2012 1:12:28 PM org.apache.coyote.AbstractProtocol init 

INFO: Initializing ProtocolHandler ["http-bio-8080"] 

Jun 13, 2012 1:12:28 PM org.apache.coyote.AbstractProtocol init 

INFO: Initializing ProtocolHandler ["ajp-bio-8009"] 

Jun 13, 2012 1:12:28 PM org.apache.catalina.startup.Catalina load 

INFO: Initialization processed in 735 ms 

Jun 13, 2012 1:12:28 PM org.apache.catalina.core.StandardService startInternal 

INFO: Starting service Catalina 

Jun 13, 2012 1:12:28 PM org.apache.catalina.core.StandardEngine startInternal 

INFO: Starting Servlet Engine: Apache Tomcat/7.0.27 

Jun 13, 2012 1:12:31 PM org.apache.coyote.AbstractProtocol start 

INFO: Starting ProtocolHandler ["http-bio-8080"] 

Jun 13, 2012 1:12:31 PM org.apache.coyote.AbstractProtocol start 

INFO: Starting ProtocolHandler ["ajp-bio-8009"] 

Jun 13, 2012 1:12:31 PM org.apache.catalina.startup.Catalina start 

INFO: Server startup in 2586 ms 

當我通過鍵入http://localhost:8080打開我的瀏覽器的tomcat,錯誤消息HTTP狀態404 -/被顯示。我無法理解問題的根源。我使用Windows7 64位。是否因爲我的系統和用戶變量沒有正確定義?

回答