2019-10-10 21:32:27.636 ERROR 25035 --- [-nio-443-exec-7] o.a.c.c.C.[.[.[/].[dispatcherServlet] : Servlet.service() for servlet [dispatcherServlet] in context with path [] threw exception [Request processing failed; nested exception is org.springframework.web.multipart.MultipartException: Failed to parse multipart servlet request; nested exception is java.io.IOException: The temporary upload location [/tmp/tomcat.5642253479450748827.443/work/Tomcat/localhost/ROOT] is not valid] with root cause
java.io.IOException: The temporary upload location [/tmp/tomcat.5642253479450748827.443/work/Tomcat/localhost/ROOT] is not valid
这个问题是因为系统把temp文件夹删掉了,重启服务即可