由于该类有setExcludeMethods方法,因此在xml中可以配置一个excludeMethods参数 刚开始老是拦截不成功,tomcat显示这个参数没找到,后来终于找到错误:不应该在拦截器栈中配置,而应该在拦截器中配置 XML: <interceptor-refname="myinter">del</interceptor-ref> 其中myinter不能是拦截器栈,而应该是拦截器...
at java.util.stream.ForEachOps$ForEachOp.evaluateSequential(UnknownSource) at java.util.stream.ForEachOps$ForEachOp$OfRef.evaluateSequential(UnknownSource) at java.util.stream.AbstractPipeline.evaluate(UnknownSource) at java.util.stream.ReferencePipeline.forEach(UnknownSource) at org.junit.vintage.engin...