The field file exceeds its maximum permitted size of 1048576 bytes
错误信息:The field file exceeds its maximum permitted size of 1048576 bytes原因是因为SpringBoot内嵌tomcat默认所能上传的文件大小为1M,超出这个就会报错。解决办法:1.修改application.yml配置文件spring: http: multipart: enab...
原创
2020-03-04 14:23:05 ·
4977 阅读 ·
0 评论