上传文件太大的问题
Maximum upload size exceeded; nested exception is java.lang.IllegalStateException: org.apache.tomcat.util.http.fileupload.impl.SizeLimitExceededException: the request was rejected because its size (12609717) exceeds the configured maximum (10485760)
。。。。
1.
tomcat配置:server.xml
2.
3.spring 下的:
servlet: multipart: max-request-size: 1500MB max-file-size: 1500MB
这几个都试了一下,最后好使了。
@
-------博客内容仅用于个人学习总结-------