我的server(Tomcat)在启动时报错如下:
致命的: Locale name null or empty, ignoring
2007/04/29 21:12:34 org.apache.myfaces.webapp.StartupServletContextListener initFaces
<?xml version= "1.0 " encoding= "UTF-8 "?>
<web-app xmlns= "http://java.sun.com/xml/ns/j2ee "
xmlns:xsi= "http://www.w3.org/2001/XMLSchema-instance " version= "2.4 "
xsi:schemaLocation= "http://java.sun.com/xml/ns/j2ee
http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd ">
<context-param>
<param-name> javax.faces.CONFIG_FILES </param-name>
<param-value> /WEB-INF/faces-config.xml </param-value>
</context-param>
<context-param>
<param-name> javax.faces.STATE_SAVING_METHOD </param-name>
<param-value> client </param-value>
<!--
<description>
State saving method: "client " or "server " (= default)
See JSF Specification 2.5.2
</description>
-->
</context-param>
<context-param>
<param-name> org.apache.myfaces.ALLOW_JAVASCRIPT </param-name>
<param-value> true </param-value>
<!--
<description>
This parameter tells MyFaces if javascript code should be allowed in the
rendered HTML output.
If javascript is allowed, command_link anchors will have javascript code
that submits the corresponding form.
If javascript is not allowed, the state saving info and nested parameters
will be added as url parameters.
Default: "true "
</description>
-->
</context-param>
<context-param>
<param-name> org.apache.myfaces.PRETTY_HTML </param-name>
<param-value> true </param-value>
<!--
<description>
If true, rendered HTML code will be formatted, so that it is "human readable ".
i.e. additional line separators and whitespace will be written, that do not