org.apache.tomcat.util.http.fileupload.FileUploadBase$FileSizeLimitExceededException
进行文件上传测试时候:
org.apache.tomcat.util.http.fileupload.FileUploadBase$FileSizeLimitExceededException: The field file exceeds its maximum permitted size of 1098765 bytes.
解决方案:配置文件进行以下配置
# 最大上传单个文件大小:默认1M
spring.servlet.multipart.max-file-size=1024MB
# 最大置总上传的数据大小 :默认10M
spring.servlet.multipart.max-request-size=1024MB