struts2 警告: Settings: Could not parse struts.locale setting, substituting default VM locale
2010-11-01 13:14
513 查看
2008-12-17 8:48:36 org.apache.catalina.core.AprLifecycleListener init
信息: The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: D:/Program Files/Java/jdk1.6.0_10/bin;D:/Program Files/tomcat-6.0.18/bin
2008-12-17 8:48:37 org.apache.coyote.http11.Http11Protocol init
信息: Initializing Coyote HTTP/1.1 on http-8080
2008-12-17 8:48:37 org.apache.catalina.startup.Catalina load
信息: Initialization processed in 7535 ms
2008-12-17 8:48:38 org.apache.catalina.core.StandardService start
信息: Starting service Catalina
2008-12-17 8:48:38 org.apache.catalina.core.StandardEngine start
信息: Starting Servlet Engine: Apache Tomcat/6.0.18
2008-12-17 8:48:45 org.apache.catalina.core.ApplicationContext log
信息: ContextListener: contextInitialized()
2008-12-17 8:48:45 org.apache.catalina.core.ApplicationContext log
信息: SessionListener: contextInitialized()
2008-12-17 8:48:51 com.opensymphony.xwork2.config.providers.XmlConfigurationProvider register
信息: Parsing configuration file [struts-default.xml]
2008-12-17 8:48:51 com.opensymphony.xwork2.config.providers.XmlConfigurationProvider register
信息: Parsing configuration file [struts-plugin.xml]
2008-12-17 8:48:51 com.opensymphony.xwork2.config.providers.XmlConfigurationProvider register
信息: Parsing configuration file [struts.xml]
2008-12-17 8:48:52 org.apache.struts2.config.Settings getLocale
警告: Settings: Could not parse struts.locale setting, substituting default VM locale
2008-12-17 8:48:52 org.apache.struts2.config.BeanSelectionProvider register
信息: Loading global messages from message
2008-12-17 8:48:54 com.opensymphony.xwork2.util.ObjectTypeDeterminerFactory <clinit>
信息: Setting DefaultObjectTypeDeterminer as default ...
2008-12-17 8:48:54 org.apache.coyote.http11.Http11Protocol start
信息: Starting Coyote HTTP/1.1 on http-8080
2008-12-17 8:48:55 org.apache.jk.common.ChannelSocket init
信息: JK: ajp13 listening on /0.0.0.0:8009
2008-12-17 8:48:55 org.apache.jk.server.JkMain start
信息: Jk running ID=0 time=15/110 config=null
2008-12-17 8:48:55 org.apache.catalina.startup.Catalina start
信息: Server startup in 17391 ms
解决方法(有两种):
1、src/struts.properties文件中如下配置: 如果没有struts.properties文件则创建,
在此文件下加入struts.locale=en_GB即可解决问题,已经尝试,好使!
2、在struts.xml中如下配置;
<constant name="struts.locale" value="en_GB" />
信息: The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: D:/Program Files/Java/jdk1.6.0_10/bin;D:/Program Files/tomcat-6.0.18/bin
2008-12-17 8:48:37 org.apache.coyote.http11.Http11Protocol init
信息: Initializing Coyote HTTP/1.1 on http-8080
2008-12-17 8:48:37 org.apache.catalina.startup.Catalina load
信息: Initialization processed in 7535 ms
2008-12-17 8:48:38 org.apache.catalina.core.StandardService start
信息: Starting service Catalina
2008-12-17 8:48:38 org.apache.catalina.core.StandardEngine start
信息: Starting Servlet Engine: Apache Tomcat/6.0.18
2008-12-17 8:48:45 org.apache.catalina.core.ApplicationContext log
信息: ContextListener: contextInitialized()
2008-12-17 8:48:45 org.apache.catalina.core.ApplicationContext log
信息: SessionListener: contextInitialized()
2008-12-17 8:48:51 com.opensymphony.xwork2.config.providers.XmlConfigurationProvider register
信息: Parsing configuration file [struts-default.xml]
2008-12-17 8:48:51 com.opensymphony.xwork2.config.providers.XmlConfigurationProvider register
信息: Parsing configuration file [struts-plugin.xml]
2008-12-17 8:48:51 com.opensymphony.xwork2.config.providers.XmlConfigurationProvider register
信息: Parsing configuration file [struts.xml]
2008-12-17 8:48:52 org.apache.struts2.config.Settings getLocale
警告: Settings: Could not parse struts.locale setting, substituting default VM locale
2008-12-17 8:48:52 org.apache.struts2.config.BeanSelectionProvider register
信息: Loading global messages from message
2008-12-17 8:48:54 com.opensymphony.xwork2.util.ObjectTypeDeterminerFactory <clinit>
信息: Setting DefaultObjectTypeDeterminer as default ...
2008-12-17 8:48:54 org.apache.coyote.http11.Http11Protocol start
信息: Starting Coyote HTTP/1.1 on http-8080
2008-12-17 8:48:55 org.apache.jk.common.ChannelSocket init
信息: JK: ajp13 listening on /0.0.0.0:8009
2008-12-17 8:48:55 org.apache.jk.server.JkMain start
信息: Jk running ID=0 time=15/110 config=null
2008-12-17 8:48:55 org.apache.catalina.startup.Catalina start
信息: Server startup in 17391 ms
解决方法(有两种):
1、src/struts.properties文件中如下配置: 如果没有struts.properties文件则创建,
在此文件下加入struts.locale=en_GB即可解决问题,已经尝试,好使!
2、在struts.xml中如下配置;
<constant name="struts.locale" value="en_GB" />
相关文章推荐
- struts2 警告: Settings: Could not parse struts.locale setting, substituting default VM locale
- 警告: Settings: Could not parse struts.locale setting, substituting default VM locale
- 启动tomcat出现:警告: Settings: Could not parse struts.locale setting, substituting default VM locale
- 警告: Settings: Could not parse struts.locale setting, substituting default VM locale)
- 错误信息 : WARN [struts2.config.Settings] Settings: Could not parse struts.locale setting, substituting default VM locale
- Settings: Could not parse struts.locale setting...
- 解决Struts2在继承默认包struts-default没联网状态下的警告问题
- struts2的配置之could not find action or result 问题的解决方法(struts.xml文件路径)
- Struts整合Hibernate:Could not parse configuration: /hibernate.cfg.xml
- struts2警告: The first TextProvider in the ValueStack could not locate the message resource with key
- Struts2.3.20使用token防表单重复提交:警告: Could not find token name in params.
- 消除Could not find property [struts.actionMapping]警告的方法
- 解决Maven提示:Could not read settings.xml, assuming default values
- 解决Maven提示:Could not read settings.xml, assuming default values
- 'c:/documents and settings/****/default-1-2-0-0.ses' could not be loaded
- Requested setting DEFAULT_INDEX_TABLESPACE, but settings are not configured
- 解决maven提示:Could not read settings.xml, assuming default values 错误
- Struts2文件上传报错 Could not find action or result 或 Error setting expression...
- ield 'ClassID' doesn't have a default value 2015-09-14 13:37:25,015 ERROR [org.apache.struts2.dispatcher.Dispatcher] - Exception occurred during processing request: could not execute statement org.hibernate.exception.GenericJDBCException: could not execut
- struts2 标签库 /struts-dojo-tags not found&Expression parameters.parseContent is undefined