springboot文件上传抛异常:org.apache.catalina.core.ApplicationPart must implement java.io.Serializable
解决方法:1、启动类加注解:@EnableAutoConfiguration(exclude={MultipartAutoConfiguration.class})2、写上传文件配置类:importorg.springframework.boot.SpringBootConfiguration;importorg.springframework.context.annotation.Bean;im