运行Struts2 helloWorld教程时出现小故障[TOMCAT]

运行Struts2 helloWorld教程时出现小故障[TOMCAT],tomcat,struts2,Tomcat,Struts2,我正在尝试在eclipse indigo中运行用于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 perform

我正在尝试在eclipse indigo中运行用于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
,将显示错误消息HTTP Status 404-/。我无法理解问题的根本原因。我使用windows7 64位。是因为我的系统和用户变量没有正确定义吗?

您的tomcat已经在运行了

看到我的答案了吗

但是您没有访问您的应用程序。以便运行应用程序。你必须给像这样的东西提供url

http://localhost:8080/MyWebApp  where MyWebApp is the name you have given to your project
查看此问题和答案以了解您收到的信息