Caused by: Element type "return" must be declared. - file:/C:/Program%20Files/Apache%20Software%20
Foundation/Tomcat%206.0/webapps/ROOT/WEB-INF/classes/
struts.xml:2625:27
at com.opensymphony.xwork2.util.DomHelper.parse(DomHelper.java:115)
at com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.loadConfigurationFiles(XmlConfigurationProvider.java:885)
... 34 more
Caused by: org.xml.sax.SAXParseException: Element type "return" must be declared.
at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.createSAXParseException(ErrorHandlerWrapper.java:195)
at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.error(ErrorHandlerWrapper.java:131)
at com.sun.org.apache.xerces.internal.impl.
XMLErrorReporter.reportError(XMLErrorReporter.java:384)
解决方法:是不小心将resulte写成了return.
<action name="requireAdd" class="huawei.webquestion.struts.RequireManageAction" method="requireAdd">
<return name="success">/page/require/newMyCreateRequire.jsp</return>
</action>