常用问题:

    org.apache.tomcat.util.http.fileupload.impl.FileSizeLimitExceededException: The field file exceeds its maximum permitted size of 1048576 bytes.

    1. // 设置单个文件大小
    2. spring.servlet.multipart.max-file-size= 50MB
    3. // 设置单次请求文件的总大小
    4. spring.servlet.multipart.max-request-size= 50MB