SpringBoot—文件上传(StandardServletMultipartResolver )

首先在springboot里面StandardServletMultipartResolver是基本不需要配置的,因为有自动化配置了,而且springboot肯定满足servlet3.0的要求。