struts2因为参数导致的异常
<pre>java.lang.runtimeexception: invalid action class configuration that references an unknown class named [poweruseredit]org.apache.struts2.convention.conventionsserviceimpl.determineresultpath(conventionsserviceimpl.java:100)org.apache.struts2.convention.conventionunknownhandler.determinepath(conventionunknownhandler.java:385)org.apache.struts2.convention.conventionunknownhandler.handleunknownresult(conventionunknownhandler.java:274)com.opensymphony.xwork2.defaultunknownhandlermanager.handleunknownresult(defaultunknownhandlermanager.java:76)com.opensymphony.xwork2.defaultactioninvocation.createresult(defaultactioninvocation.java:215)com.opensymphony.xwork2.defaultactioninvocation.executeresult(defaultactioninvocation.java:356)com.opensymphony.xwork2.defaultactioninvocation.invoke(defaultactioninvocation.java:266)com.opensymphony.xwork2.validator.validationinterceptor.dointercept(validationinterceptor.java:252)org.apache.struts2.interceptor.validation.annotationvalidationinterceptor.dointercept(annotationvalidationinterceptor.java:68)com.opensymphony.xwork2.interceptor.methodfilterinterceptor.intercept(methodfilterinterceptor.java:87)com.opensymphony.xwork2.defaultactioninvocation.invoke(defaultactioninvocation.java:237)com.opensymphony.xwork2.interceptor.conversionerrorinterceptor.intercept(conversionerrorinterceptor.java:122)com.opensymphony.xwork2.defaultactioninvocation.invoke(defaultactioninvocation.java:237)com.opensymphony.xwork2.interceptor.parametersinterceptor.dointercept(parametersinterceptor.java:195)com.opensymphony.xwork2.interceptor.methodfilterinterceptor.intercept(methodfilterinterceptor.java:87)com.opensymphony.xwork2.defaultactioninvocation.invoke(defaultactioninvocation.java:237)com.opensymphony.xwork2.interceptor.parametersinterceptor.dointercept(parametersinterceptor.java:195)com.opensymphony.xwork2.interceptor.methodfilterinterceptor.intercept(methodfilterinterceptor.java:87)com.opensymphony.xwork2.defaultactioninvocation.invoke(defaultactioninvocation.java:237)com.opensymphony.xwork2.interceptor.staticparametersinterceptor.intercept(staticparametersinterceptor.java:179)com.opensymphony.xwork2.defaultactioninvocation.invoke(defaultactioninvocation.java:237)org.apache.struts2.interceptor.multiselectinterceptor.intercept(multiselectinterceptor.java:75)com.opensymphony.xwork2.defaultactioninvocation.invoke(defaultactioninvocation.java:237)org.apache.struts2.interceptor.checkboxinterceptor.intercept(checkboxinterceptor.java:94)com.opensymphony.xwork2.defaultactioninvocation.invoke(defaultactioninvocation.java:237)org.apache.struts2.interceptor.fileuploadinterceptor.intercept(fileuploadinterceptor.java:235)com.opensymphony.xwork2.defaultactioninvocation.invoke(defaultactioninvocation.java:237)com.opensymphony.xwork2.interceptor.modeldriveninterceptor.intercept(modeldriveninterceptor.java:89)com.opensymphony.xwork2.defaultactioninvocation.invoke(defaultactioninvocation.java:237)com.opensymphony.xwork2.interceptor.scopedmodeldriveninterceptor.intercept(scopedmodeldriveninterceptor.java:130)com.opensymphony.xwork2.defaultactioninvocation.invoke(defaultactioninvocation.java:237)org.apache.struts2.interceptor.debugging.debugginginterceptor.intercept(debugginginterceptor.java:267)com.opensymphony.xwork2.defaultactioninvocation.invoke(defaultactioninvocation.java:237)com.opensymphony.xwork2.interceptor.chaininginterceptor.intercept(chaininginterceptor.java:126)com.opensymphony.xwork2.defaultactioninvocation.invoke(defaultactioninvocation.java:237)com.opensymphony.xwork2.interceptor.prepareinterceptor.dointercept(prepareinterceptor.java:138)com.opensymphony.xwork2.interceptor.methodfilterinterceptor.intercept(methodfilterinterceptor.java:87)com.opensymphony.xwork2.defaultactioninvocation.invoke(defaultactioninvocation.java:237)com.opensymphony.xwork2.interceptor.i18ninterceptor.intercept(i18ninterceptor.java:165)com.opensymphony.xwork2.defaultactioninvocation.invoke(defaultactioninvocation.java:237)org.apache.struts2.interceptor.servletconfiginterceptor.intercept(servletconfiginterceptor.java:164)com.opensymphony.xwork2.defaultactioninvocation.invoke(defaultactioninvocation.java:237)com.opensymphony.xwork2.interceptor.aliasinterceptor.intercept(aliasinterceptor.java:179)com.opensymphony.xwork2.defaultactioninvocation.invoke(defaultactioninvocation.java:237)com.opensymphony.xwork2.interceptor.exceptionmappinginterceptor.intercept(exceptionmappinginterceptor.java:176)com.opensymphony.xwork2.defaultactioninvocation.invoke(defaultactioninvocation.java:237)org.apache.struts2.impl.strutsactionproxy.execute(strutsactionproxy.java:52)org.apache.struts2.dispatcher.dispatcher.serviceaction(dispatcher.java:488)org.apache.struts2.dispatcher.ng.executeoperations.executeaction(executeoperations.java:77)org.apache.struts2.dispatcher.ng.filter.strutsprepareandexecutefilter.dofilter(strutsprepareandexecutefilter.java:91)org.springframework.orm.hibernate3.support.opensessioninviewfilter.dofilterinternal(opensessioninviewfilter.java:198)org.springframework.web.filter.onceperrequestfilter.dofilter(onceperrequestfilter.java:76)</pre>root cause
<pre>java.lang.classnotfoundexception: powerusereditorg.apache.catalina.loader.webappclassloader.loadclass(webappclassloader.java:1516)org.apache.catalina.loader.webappclassloader.loadclass(webappclassloader.java:1361)org.apache.struts2.util.classloaderutils.loadclass(classloaderutils.java:111)org.apache.struts2.convention.conventionsserviceimpl.determineresultpath(conventionsserviceimpl.java:98)org.apache.struts2.convention.conventionunknownhandler.determinepath(conventionunknownhandler.java:385)org.apache.struts2.convention.conventionunknownhandler.handleunknownresult(conventionunknownhandler.java:274)com.opensymphony.xwork2.defaultunknownhandlermanager.handleunknownresult(defaultunknownhandlermanager.java:76)com.opensymphony.xwork2.defaultactioninvocation.createresult(defaultactioninvocation.java:215)com.opensymphony.xwork2.defaultactioninvocation.executeresult(defaultactioninvocation.java:356)com.opensymphony.xwork2.defaultactioninvocation.invoke(defaultactioninvocation.java:266)com.opensymphony.xwork2.validator.validationinterceptor.dointercept(validationinterceptor.java:252)org.apache.struts2.interceptor.validation.annotationvalidationinterceptor.dointercept(annotationvalidationinterceptor.java:68)com.opensymphony.xwork2.interceptor.methodfilterinterceptor.intercept(methodfilterinterceptor.java:87)com.opensymphony.xwork2.defaultactioninvocation.invoke(defaultactioninvocation.java:237)com.opensymphony.xwork2.interceptor.conversionerrorinterceptor.intercept(conversionerrorinterceptor.java:122)com.opensymphony.xwork2.defaultactioninvocation.invoke(defaultactioninvocation.java:237)com.opensymphony.xwork2.interceptor.parametersinterceptor.dointercept(parametersinterceptor.java:195)com.opensymphony.xwork2.interceptor.methodfilterinterceptor.intercept(methodfilterinterceptor.java:87)com.opensymphony.xwork2.defaultactioninvocation.invoke(defaultactioninvocation.java:237)com.opensymphony.xwork2.interceptor.parametersinterceptor.dointercept(parametersinterceptor.java:195)com.opensymphony.xwork2.interceptor.methodfilterinterceptor.intercept(methodfilterinterceptor.java:87)com.opensymphony.xwork2.defaultactioninvocation.invoke(defaultactioninvocation.java:237)com.opensymphony.xwork2.interceptor.staticparametersinterceptor.intercept(staticparametersinterceptor.java:179)com.opensymphony.xwork2.defaultactioninvocation.invoke(defaultactioninvocation.java:237)org.apache.struts2.interceptor.multiselectinterceptor.intercept(multiselectinterceptor.java:75)com.opensymphony.xwork2.defaultactioninvocation.invoke(defaultactioninvocation.java:237)org.apache.struts2.interceptor.checkboxinterceptor.intercept(checkboxinterceptor.java:94)com.opensymphony.xwork2.defaultactioninvocation.invoke(defaultactioninvocation.java:237)org.apache.struts2.interceptor.fileuploadinterceptor.intercept(fileuploadinterceptor.java:235)com.opensymphony.xwork2.defaultactioninvocation.invoke(defaultactioninvocation.java:237)com.opensymphony.xwork2.interceptor.modeldriveninterceptor.intercept(modeldriveninterceptor.java:89)com.opensymphony.xwork2.defaultactioninvocation.invoke(defaultactioninvocation.java:237)com.opensymphony.xwork2.interceptor.scopedmodeldriveninterceptor.intercept(scopedmodeldriveninterceptor.java:130)com.opensymphony.xwork2.defaultactioninvocation.invoke(defaultactioninvocation.java:237)org.apache.struts2.interceptor.debugging.debugginginterceptor.intercept(debugginginterceptor.java:267)com.opensymphony.xwork2.defaultactioninvocation.invoke(defaultactioninvocation.java:237)com.opensymphony.xwork2.interceptor.chaininginterceptor.intercept(chaininginterceptor.java:126)com.opensymphony.xwork2.defaultactioninvocation.invoke(defaultactioninvocation.java:237)com.opensymphony.xwork2.interceptor.prepareinterceptor.dointercept(prepareinterceptor.java:138)com.opensymphony.xwork2.interceptor.methodfilterinterceptor.intercept(methodfilterinterceptor.java:87)com.opensymphony.xwork2.defaultactioninvocation.invoke(defaultactioninvocation.java:237)com.opensymphony.xwork2.interceptor.i18ninterceptor.intercept(i18ninterceptor.java:165)com.opensymphony.xwork2.defaultactioninvocation.invoke(defaultactioninvocation.java:237)org.apache.struts2.interceptor.servletconfiginterceptor.intercept(servletconfiginterceptor.java:164)com.opensymphony.xwork2.defaultactioninvocation.invoke(defaultactioninvocation.java:237)com.opensymphony.xwork2.interceptor.aliasinterceptor.intercept(aliasinterceptor.java:179)com.opensymphony.xwork2.defaultactioninvocation.invoke(defaultactioninvocation.java:237)com.opensymphony.xwork2.interceptor.exceptionmappinginterceptor.intercept(exceptionmappinginterceptor.java:176)com.opensymphony.xwork2.defaultactioninvocation.invoke(defaultactioninvocation.java:237)org.apache.struts2.impl.strutsactionproxy.execute(strutsactionproxy.java:52)org.apache.struts2.dispatcher.dispatcher.serviceaction(dispatcher.java:488)org.apache.struts2.dispatcher.ng.executeoperations.executeaction(executeoperations.java:77)org.apache.struts2.dispatcher.ng.filter.strutsprepareandexecutefilter.dofilter(strutsprepareandexecutefilter.java:91)org.springframework.orm.hibernate3.support.opensessioninviewfilter.dofilterinternal(opensessioninviewfilter.java:198)org.springframework.web.filter.onceperrequestfilter.dofilter(onceperrequestfilter.java:76)症状:form提交时爆出这个异常,并且不进入action方法,所有的配置文件检查没有问题,在浏览器中直接访问地址可以进入方法。原因:提交的参数发现问题,model.id=xx.id&...... 值中好像不能含有点。整理参数问题解决。</pre>