杯具啊,为什么会有
java.net.SocketException: Connection reset这个异常
run-main:
java.net.
SocketException: Connection reset at java.net.SocketInputStream.read(SocketInputStream.java:168)
at java.io.BufferedInputStream.fill(BufferedInputStream.java:218)
at java.io.BufferedInputStream.read1(BufferedInputStream.java:258)
at java.io.BufferedInputStream.read(BufferedInputStream.java:317)
at sun.net.www.http.HttpClient.parseHTTPHeader(HttpClient.java:687)
at sun.net.www.http.HttpClient.parseHTTP(HttpClient.java:632)
at sun.net.www.http.HttpClient.parseHTTP(HttpClient.java:652)
at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1064)
at com.sun.syndication.io.XmlReader.<init>(XmlReader.java:237)
at com.rss.parseRss(rss.java:29)
at com.rss.main(rss.java:75)
有说是阻塞引起的可是,怎么解决呢? 求。。。高手解答!!!!
------解决方案--------------------我感觉不是 阻塞引起的,我的程序 以前经常出现这个问题,没出现一次 我就重新导入一次包,就可以了
------解决方案--------------------关注,帮忙顶一下
------解决方案--------------------网上查了很多,没有查到终极解决方案,关注
------解决方案--------------------老兄,怎么解决的?我也碰到了,帮忙告诉一下