錯誤信息如下(關鍵):
org.apache.tomcat.util.http.fileupload.FileUploadBase$SizeLimitExceededException:
the request was rejected because its size (110862330) exceeds the configured maximum (31457280)
解決方案(主要是修改application.yml對應的配置):
如果覺得300MB不夠的話,可以往上調。
spring: http: multipart: enabled: true max-file-size: 300MB max-request-size: 300MB