tomcat启动警告信息

来源:百度知道 编辑:UC知道 时间:2024/06/22 12:37:54
大家看看这个警告是什么原因,我知道是struts2.0配置文件的错误

这是警告信息
2008-12-24 12:23:45 org.apache.struts2.config.Settings getLocale
警告: Settings: Could not parse struts.locale setting, substituting default VM locale

全文是:
2008-12-24 12:23:44 org.apache.coyote.http11.Http11BaseProtocol init
信息: Initializing Coyote HTTP/1.1 on http-80
2008-12-24 12:23:44 org.apache.catalina.startup.Catalina load
信息: Initialization processed in 515 ms
2008-12-24 12:23:44 org.apache.catalina.core.StandardService start
信息: Starting service Catalina
2008-12-24 12:23:44 org.apache.catalina.core.StandardEngine start
信息: Starting Servlet Engine: Apache Tomcat/5.5.27
2008-12-24 12:23:44 org.apache.catalina.core.StandardHost start
信息: XML validation disabled
2008-12-24 12:23:45 com.opensymphony.xwork2.config.providers.XmlConfigurationPro
vider register
信息: Parsing configuration file [struts-default.xml]
2008-12-24 12:23:45 com.opensymphon

这是默认语言环境没有配置:解决方法
在WEB-INF/struts.properties或者src/struts.properties文件中如下配置:
struts.locale=en_GB
或者在struts.xml中如下配置;
<constant name="struts.locale" value="en_GB" />

这是指示你的系统的硬件出错了!
你这样的情况只有重装系统~~