04:02:28,046 WARN PropertyMessageResources:352 - Resource org/apache/struts/taglib/LocalStrings_zh_CN.properties Not Found.
04:02:28,046 WARN PropertyMessageResources:352 - Resource org/apache/struts/taglib/LocalStrings_zh.properties Not Found.
2011-12-3 4:02:28 org.apache.catalina.core.ApplicationDispatcher invoke
严重: Servlet.service() for servlet jsp threw exception
javax.servlet.jsp.JspException: Cannot find message resources under key org.apache.struts.action.MESSAGE
at org.apache.struts.taglib.TagUtils.retrieveMessageResources(TagUtils.java:1112)
at org.apache.struts.taglib.TagUtils.present(TagUtils.java:1055)
at org.apache.struts.taglib.html.ErrorsTag.doStartTag(ErrorsTag.java:200)
at org.apache.jsp.jsp.login_jsp._jspx_meth_html_005ferrors_005f0(login_jsp.java:172)
at org.apache.jsp.jsp.login_jsp._jspx_meth_html_005fform_005f0(login_jsp.java:114)
at org.apache.jsp.jsp.login_jsp._jspService(login_jsp.java:79)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:374)
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:342)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:267)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
要排除错误要看这句话:Cannot find message resources under key ;没有发现嘛,那咱就找找呗,看看,自己的struts-config.xml.里ApplicationResources是不是包名写错了,或者压根就没配置上??<message-resources parameter="com.ssh.struts.ApplicationResources" />
转载于:https://blog.51cto.com/hebsun/732553