我正在使用Maven工作struts2.5.5。
我在拦截器标签中出错:
struts.xml文件中的元素类型
匹配$a = start-process notepad.exe -PassThru $a.Id 10536
的内容必须与"interceptor"
:
"(param)*"
答案 0 :(得分:0)
拦截器元素未关闭:
<interceptor name="authenticationInterceptor" class="AuthenticationInterceptor">
因此它试图将<interceptor-stack>
声明作为正文,而他只期望那个位置的<param>
元素。
只需自行关闭代码:
<interceptor name="authenticationInterceptor" class="AuthenticationInterceptor" />