当前位置: 代码迷 >> J2SE >> IO 操作 CRLF expected at end of chunk: -1/-1 异常、
  详细解决方案

IO 操作 CRLF expected at end of chunk: -1/-1 异常、

热度:3248   发布时间:2013-02-25 00:00:00.0
IO 操作 CRLF expected at end of chunk: -1/-1 错误、急急急
java.io.IOException: CRLF expected at end of chunk: -1/-1
at org.apache.commons.httpclient.ChunkedInputStream.readCRLF(ChunkedInputStream.java:207)
at org.apache.commons.httpclient.ChunkedInputStream.nextChunk(ChunkedInputStream.java:219)
at org.apache.commons.httpclient.ChunkedInputStream.read(ChunkedInputStream.java:176)
at java.io.FilterInputStream.read(FilterInputStream.java:116)
at org.apache.commons.httpclient.AutoCloseInputStream.read(AutoCloseInputStream.java:108)
at java.io.FilterInputStream.read(FilterInputStream.java:90)
at org.apache.commons.httpclient.AutoCloseInputStream.read(AutoCloseInputStream.java:127)
at com.roar.type.ByteList.read(ByteList.java:40)
at com.roar.type.RInputStream.inputStreamToTxt(RInputStream.java:90)
at com.roar.http.HttpCheat.getBody(HttpCheat.java:391)
at com.roar.bet.crawler1.CrownManager.login(CrownManager.java:323)
at com.roar.bet.crawler1.CrownManager.login(CrownManager.java:400)
at com.roar.crawler.PageThread.login(PageThread.java:715)
at com.roar.crawler.PageThread.run(PageThread.java:180)
at java.lang.Thread.run(Thread.java:619)
大家看下这个错误是怎么回事

------解决方案--------------------------------------------------------
代码贴出来
  相关解决方案