报错:
java.io.IOException: java.util.concurrent.TimeoutException: Idle timeout expired: 30000/30000 ms
at org.eclipse.jetty.server.HttpConnection.blockingWrite(HttpConnection.java:449)
at org.eclipse.jetty.server.HttpConnection.send(HttpConnection.java:389)
at org.eclipse.jetty.server.HttpChannel.write(HttpChannel.java:638)
at org.eclipse.jetty.server.HttpOutput.write(HttpOutput.java:199)
at org.springframework.util.FileCopyUtils.copy(FileCopyUtils.java:113)
at org.springframework.web.servlet.re
解决:
vi start.ini
#http.timeout=3000(注释该行之后测试仍然有该报错)
vi etc/jetty-http.xml(把30000ms改成1200000ms)
<Set name=”idleTimeout”><Property name=”http.timeout” default=”1200000″/></Set>
参考:
百度java.io.IOException: java.util.concurrent.TimeoutException: Idle timeout expired: 30000/30000 ms
http://www.tuicool.com/articles/ryiA3y
转载于:https://blog.51cto.com/guowang327/1760784
发布者:全栈程序员-用户IM,转载请注明出处:https://javaforall.cn/109089.html原文链接:https://javaforall.cn
【正版授权,激活自己账号】: Jetbrains全家桶Ide使用,1年售后保障,每天仅需1毛
【官方授权 正版激活】: 官方授权 正版激活 支持Jetbrains家族下所有IDE 使用个人JB账号...