java.io.EOFException: Unexpected EOF read on the socket

参考:https://blog.csdn.net/yong______heng/article/details/103233294

查询到是读取文件过大问题,调整tomcat对post请求大小的限制

 

 

maxPostSize='-1’ 表示 长度无限制(tomcat7以上,包含tomcat7)

maxPostSize=‘0’ 表示 长度无限制(tomcat7以下)

默认长度限制:2097152(2m)

posted @ 2021-04-29 18:13  wujingqi  阅读(6708)  评论(0编辑  收藏  举报