1、global-exception-mappings:配置之后,如果项目中用到自定义的MethodFilterInterceptor子类,会导致MethodFilterInterceptor等拦截器在拦截过程无法catch到异常信息,无法打log,很难排错。最近的项目是用了guice的,一开始还担心是不是guice导致的问题,最后引入strust2的源码debug过程才发现是配置了global-exception-mappings导致的,完全没想到是这个原因。
1、global-exception-mappings:配置之后,如果项目中用到自定义的Met