异常记录:
使用apiPost 调用接口异常:
java.lang.RuntimeException: java.io.IOException: UT000036: Connection terminated parsing multipart data
at io.undertow.servlet.spec.HttpServletRequestImpl.parseFormData(HttpServletRequestImpl.java:847)
at io.undertow.servlet.spec.HttpServletRequestImpl.getParameterMap(HttpServletRequestImpl.java:793)
at javax.servlet.ServletRequestWrapper.getParameterMap(ServletRequestWrapper.java:158)
at javax.servlet.ServletRequestWrapper.getParameterMap(ServletRequestWrapper.java:158)
at javax.servlet.ServletRequestWrapper.getParameterMap(ServletRequestWrapper.java:158)
at com.yami.shop.common.filter.SensitiveFilter.doFilter(SensitiveFilter.java:80)
at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:61)
at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131)
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:320)
解决方法: