只要是程序报错,不管是什么错误,都会报这个错误,不知道为什么?
<struts>
<constant name="struts.enable.DynamicMethodInvocation" value="false" />
<constant name="struts.i18n.encoding" value="UTF-8" />
<constant name="struts.locale" value="UTF-8" />
<constant name="struts.custom.i18n.resources" value="message" />
<constant name="struts.convention." value=""></constant>
<constant name="struts.action.extension" value="action" />
<constant name="struts.configuration.xml.reload" value="true" />
<constant name="struts.devMode" value="true" />
<constant name="struts.objectFactory.spring.autoWire" value="type"></constant>
<package name="claimVoucher" namespace="/jsp/claim" extends="struts-default">
<interceptors>
<interceptor-stack name="defaultStack">
<interceptor-ref name="alias" />
<interceptor-ref name="servletConfig" />
<interceptor-ref name="i18n" />
<interceptor-ref name="prepare" />
<interceptor-ref name="chain" />
<interceptor-ref name="scopedModelDriven" />
<interceptor-ref name="modelDriven" />
<interceptor-ref name="fileUpload" />
<interceptor-ref name="checkbox" />
<interceptor-ref name="multiselect" />
<interceptor-ref name="staticParams" />
<interceptor-ref name="actionMappingParams" />
<interceptor-ref name="params">
<param name="excludeParams">dojo\..*,^struts\..*,^session\..*,^request\..*,^application\..*,^servlet(Request|Response)\..*,parameters\...*</param>
</interceptor-ref>
<interceptor-ref name="conversionError" />
<interceptor-ref name="validation">
<param name="excludeMethods">input,back,cancel,browse</param>
</interceptor-ref>
<interceptor-ref name="workflow">
<param name="excludeMethods">input,back,cancel,browse</param>
</interceptor-ref>
<interceptor-ref name="debugging" />
</interceptor-stack>
</interceptors>
<!-- 导入上面写的拦截器栈 -->
<default-interceptor-ref name="defaultStack" />
<global-results>
<result name="login">login.jsp</result>
<!-- <result name="error">fail.jsp</result> -->
</global-results>
<global-exception-mappings>
<exception-mapping exception="java.lang.Exception"
result="error" />
</global-exception-mappings>
<action name="defaultAction">
<result>error.jsp</result>
</action>
<action name="claimVoucher_*" method="{1}"
class="action.ClaimVoucherAction">
<result name="list">claim_voucher_list.jsp</result>
<result name="view">claim_voucher_view.jsp</result>
<result name="toAdd">claim_voucher_edit.jsp</result>
<result name="save">claim_voucher_view.jsp</result>
<result name="toUpdate">claim_voucher_update.jsp</result>
<result name="update">claim_voucher_view.jsp</result>
</action>
</package>
</struts>