上传大文件报错java.lang.IllegalStateException: too much data after closed for HttpChannelOver

修改springboot配置文件配置

增加如下参数的值:

server.jetty.max-http-post-size=200000000  # Maximum size in bytes of the HTTP post or put content.


用来设置jetty服务器能就收的最大post请求的大小

发布了29 篇原创文章 · 获赞 0 · 访问量 1050

猜你喜欢

转载自blog.csdn.net/sumengnan/article/details/104407663