2011-6-17 18:11:52 org.apache.catalina.core.StandardEngine start
信息: Starting Servlet Engine: Apache Tomcat/6.0.30
2011-6-17 18:11:52 org.apache.catalina.startup.HostConfig deployDescriptor
信息: Deploying configuration descriptor host-manager.xml
2011-6-17 18:11:52 org.apache.catalina.startup.HostConfig deployDescriptor
信息: Deploying configuration descriptor manager.xml
2011-6-17 18:11:52 org.apache.catalina.startup.HostConfig deployDirectory
信息: Deploying web application directory ddd
2011-6-17 18:11:53 com.opensymphony.xwork2.config.providers.XmlConfigurationProvider register
信息: Parsing configuration file [struts-default.xml]
2011-6-17 18:11:53 com.opensymphony.xwork2.config.providers.XmlConfigurationProvider register
信息: Parsing configuration file [struts-plugin.xml]
2011-6-17 18:11:53 com.opensymphony.xwork2.config.providers.XmlConfigurationProvider register
信息: Parsing configuration file [struts.xml]
2011-6-17 18:11:53 org.apache.struts2.config.Settings getLocale
警告: Settings: Could not parse struts.locale setting, substituting default VM locale

解决方案 »

  1.   

    Class<T>.getDeclaredConstructors0(boolean) line: not available [native method]
    跳到调试去了
      

  2.   

    2011-6-20 11:49:36 com.opensymphony.xwork2.validator.ActionValidatorManagerFactory <clinit>
    信息: Detected AnnotationActionValidatorManager, initializing it...
    2011-6-20 11:49:58 org.apache.struts2.dispatcher.Dispatcher serviceAction
    严重: Could not find action or result
    There is no Action mapped for namespace / and action name login1. - [unknown location]
    at com.opensymphony.xwork2.DefaultActionProxy.prepare(DefaultActionProxy.java:186)
    at org.apache.struts2.impl.StrutsActionProxyFactory.createActionProxy(StrutsActionProxyFactory.java:41)
    at org.apache.struts2.dispatcher.Dispatcher.serviceAction(Dispatcher.java:494)
    at org.apache.struts2.dispatcher.FilterDispatcher.doFilter(FilterDispatcher.java:422)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
    at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
    at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
    at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298)
    at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:859)
    at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:588)
    at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)
    at java.lang.Thread.run(Unknown Source)
    2011-6-20 11:51:00 org.apache.catalina.startup.HostConfig checkResources
    信息: Reloading context [/ddd]
    2011-6-20 11:51:00 org.apache.catalina.loader.WebappClassLoader clearThreadLocalMap
    严重: The web application [/ddd] created a ThreadLocal with key of type [com.opensymphony.xwork2.inject.ContainerImpl$10] (value [com.opensymphony.xwork2.inject.ContainerImpl$10@1335b86]) and a value of type [com.opensymphony.xwork2.inject.InternalContext[]] (value [[Lcom.opensymphony.xwork2.inject.InternalContext;@bdec44]) but failed to remove it when the web application was stopped. This is very likely to create a memory leak.
    2011-6-20 11:51:00 org.apache.catalina.loader.WebappClassLoader clearThreadLocalMap
    严重: The web application [/ddd] created a ThreadLocal with key of type [com.opensymphony.xwork2.ActionContext.ActionContextThreadLocal] (value [com.opensymphony.xwork2.ActionContext$ActionContextThreadLocal@f04dae]) and a value of type [com.opensymphony.xwork2.ActionContext] (value [com.opensymphony.xwork2.ActionContext@7c0d41]) but failed to remove it when the web application was stopped. This is very likely to create a memory leak.
    2011-6-20 11:51:00 org.apache.catalina.loader.WebappClassLoader clearThreadLocalMap
    严重: The web application [/ddd] created a ThreadLocal with key of type [com.opensymphony.xwork2.inject.ContainerImpl$10] (value [com.opensymphony.xwork2.inject.ContainerImpl$10@1335b86]) and a value of type [com.opensymphony.xwork2.inject.InternalContext[]] (value [[Lcom.opensymphony.xwork2.inject.InternalContext;@4a2dd4]) but failed to remove it when the web application was stopped. This is very likely to create a memory leak.
    2011-6-20 11:51:00 org.apache.catalina.loader.WebappClassLoader clearThreadLocalMap
    严重: The web application [/ddd] created a ThreadLocal with key of type [com.opensymphony.xwork2.inject.ContainerImpl$10] (value [com.opensymphony.xwork2.inject.ContainerImpl$10@1335b86]) and a value of type [com.opensymphony.xwork2.inject.InternalContext[]] (value [[Lcom.opensymphony.xwork2.inject.InternalContext;@77baf4]) but failed to remove it when the web application was stopped. This is very likely to create a memory leak.
    2011-6-20 11:51:01 com.opensymphony.xwork2.config.providers.XmlConfigurationProvider register
    信息: Parsing configuration file [struts-default.xml]
    2011-6-20 11:51:01 com.opensymphony.xwork2.config.providers.XmlConfigurationProvider register
    信息: Parsing configuration file [struts-plugin.xml]
    2011-6-20 11:51:01 com.opensymphony.xwork2.config.providers.XmlConfigurationProvider register
    信息: Parsing configuration file [struts.xml]
    2011-6-20 11:51:01 org.apache.struts2.config.Settings getLocale
    警告: Settings: Could not parse struts.locale setting, substituting default VM locale
      

  3.   

    Could not parse struts.locale setting, substituting default VM locale没能解析struts.locale setting,substituting
    Could not find action or result没找到action或者是result
    你action/result 写错了么?
      

  4.   

    在WEB-INF/struts.properties或者src/struts.properties文件中如下配置: 
    struts.locale=en_GB
      

  5.   

    struts配置文件里面的login1没配
      

  6.   

    Struts.xml配置错误,楼主仔细检查检查吧
      

  7.   

    <!DOCTYPE struts PUBLIC
        "-//Apache Software Foundation//DTD Struts Configuration 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>
    里面配置了以个name为"login"的action,假如我需要在配置一个action,该怎么写呢?
    求各位大仙指教.
      

  8.   

    以前用过struts2,现在工作又用到了struts1,不过都差不多了,struts2比较关注于配置,把struts1的很多配置给自动了。
      

  9.   

    我同学也是用Struts1,小型系统用 S1更不错.
      

  10.   

    如何再加以个action呢?各位大侠来看呀?