当前位置: 代码迷 >> Java Web开发 >> 各位大侠帮忙解决一下有关问题
  详细解决方案

各位大侠帮忙解决一下有关问题

热度:2445   发布时间:2013-02-25 21:22:55.0
各位大侠帮忙解决一下问题
2011-8-10 0:37:55 org.apache.catalina.core.AprLifecycleListener init
信息: Loaded APR based Apache Tomcat Native library 1.1.19.
2011-8-10 0:37:55 org.apache.catalina.core.AprLifecycleListener init
信息: APR capabilities: IPv6 [true], sendfile [true], accept filters [false], random [true].
2011-8-10 0:37:55 org.apache.coyote.http11.Http11AprProtocol init
信息: Initializing Coyote HTTP/1.1 on http-8080
2011-8-10 0:37:55 org.apache.coyote.ajp.AjpAprProtocol init
信息: Initializing Coyote AJP/1.3 on ajp-8009
2011-8-10 0:37:55 org.apache.catalina.startup.Catalina load
信息: Initialization processed in 535 ms
2011-8-10 0:37:55 org.apache.catalina.core.StandardService start
信息: Starting service Catalina
2011-8-10 0:37:55 org.apache.catalina.core.StandardEngine start
信息: Starting Servlet Engine: Apache Tomcat/6.0.32
2011-8-10 0:37:55 org.apache.catalina.startup.HostConfig deployDescriptor
信息: Deploying configuration descriptor manager.xml
2011-8-10 0:37:56 org.apache.catalina.startup.HostConfig deployDirectory
信息: Deploying web application directory ROOT
2011-8-10 0:37:56 org.apache.catalina.startup.HostConfig deployDirectory
信息: Deploying web application directory docs
2011-8-10 0:37:56 org.apache.catalina.startup.HostConfig deployDirectory
信息: Deploying web application directory myWebProject
2011-8-10 0:37:56 org.apache.catalina.startup.HostConfig deployDirectory
信息: Deploying web application directory Strust2
2011-8-10 0:37:56 com.opensymphony.xwork2.config.providers.XmlConfigurationProvider register
信息: Parsing configuration file [struts-default.xml]
2011-8-10 0:37:57 com.opensymphony.xwork2.config.providers.XmlConfigurationProvider register
信息: Parsing configuration file [struts-plugin.xml]
2011-8-10 0:37:57 com.opensymphony.xwork2.config.providers.XmlConfigurationProvider register
信息: Parsing configuration file [struts.xml]
2011-8-10 0:37:57 org.apache.struts2.config.Settings getLocale
警告: Settings: Could not parse struts.locale setting, substituting default VM locale
2011-8-10 0:37:58 com.opensymphony.xwork2.util.ObjectTypeDeterminerFactory <clinit>
信息: Setting DefaultObjectTypeDeterminer as default ...
2011-8-10 0:37:58 org.apache.coyote.http11.Http11AprProtocol start
信息: Starting Coyote HTTP/1.1 on http-8080
2011-8-10 0:37:58 org.apache.coyote.ajp.AjpAprProtocol start
信息: Starting Coyote AJP/1.3 on ajp-8009
2011-8-10 0:37:58 org.apache.catalina.startup.Catalina start
信息: Server startup in 2315 ms




怎么都会出现这种问题。我书上说要tomcat6.0.16的.但是那个tomcat我找不到,我下载了apache-tomcat-6.0.30.zip
而jdk要java_ee_sdk-5_04-windows-ml,我下载了java_ee_sdk-6u2-jdk-windows.exe
myeclipse是8.5的.
是这些版本的问题吗?

struts2.xml代码为:
<!DOCTYPE struts PUBLIC
"-//Apache Software Foundation//DTD Struts Configuaration 2.0//EN"
"http://struts.apache.org/dtds/struts-2.0.dtd">
<struts>
<package name="struts" extends="struts-default">
<action name="login" class="LoginAction">
<result name="error">/error.jsp</result>
<result name="success">/welcome.jsp</result>
</action>
</package>
</struts>

web.xml代码为:

<?xml version="1.0" encoding="UTF-8"?>
<web-app version="2.5" 
xmlns="http://java.sun.com/xml/ns/javaee"
  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 
  xsi:schemaLocation="http://java.sun.com/xml/ns/javaee  
  http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd">
 <filter>
  <filter-name>struts2</filter-name>
  <filter-class>org.apache.struts2.dispatcher.FilterDispatcher</filter-class>
  相关解决方案