码迷,mamicode.com
首页 > 编程语言 > 详细

安装Java的IDE Eclipse时出现java.net.SocketException,出现错误Installer failed,show.log

时间:2016-11-21 22:46:30      阅读:364      评论:0      收藏:0      [点我收藏+]

标签:error   pre   str   intern   问题   response   director   directory   blog   

ERROR: org.eclipse.equinox.p2.transport.ecf code=1002 Unable to read repository at http://download.eclipse.org/oomph/updates/milestone/latest/content.xml.
java.net.SocketException: Software caused connection abort: recv failed
  at java.net.SocketInputStream.socketRead0(Native Method)
  at java.net.SocketInputStream.socketRead(SocketInputStream.java:116)
  at java.net.SocketInputStream.read(SocketInputStream.java:170)
  at java.net.SocketInputStream.read(SocketInputStream.java:141)
  at org.apache.http.impl.io.AbstractSessionInputBuffer.fillBuffer(AbstractSessionInputBuffer.java:160)
  at org.apache.http.impl.io.SocketInputBuffer.fillBuffer(SocketInputBuffer.java:84)
  at org.apache.http.impl.io.AbstractSessionInputBuffer.readLine(AbstractSessionInputBuffer.java:273)
  at org.apache.http.impl.conn.DefaultHttpResponseParser.parseHead(DefaultHttpResponseParser.java:140)
  at org.apache.http.impl.conn.DefaultHttpResponseParser.parseHead(DefaultHttpResponseParser.java:57)
  at org.apache.http.impl.io.AbstractMessageParser.parse(AbstractMessageParser.java:260)
  at org.apache.http.impl.AbstractHttpClientConnection.receiveResponseHeader(AbstractHttpClientConnection.java:283)
  at org.apache.http.impl.conn.DefaultClientConnection.receiveResponseHeader(DefaultClientConnection.java:251)
  at org.apache.http.impl.conn.ManagedClientConnectionImpl.receiveResponseHeader(ManagedClientConnectionImpl.java:197)
  at org.apache.http.protocol.HttpRequestExecutor.doReceiveResponse(HttpRequestExecutor.java:271)
  at org.apache.http.protocol.HttpRequestExecutor.execute(HttpRequestExecutor.java:123)
  at org.apache.http.impl.client.DefaultRequestDirector.tryExecute(DefaultRequestDirector.java:685)
  at org.apache.http.impl.client.DefaultRequestDirector.execute(DefaultRequestDirector.java:487)
  at org.apache.http.impl.client.AbstractHttpClient.doExecute(AbstractHttpClient.java:863)
  at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:82)
  at org.eclipse.ecf.provider.filetransfer.httpclient4.HttpClientFileSystemBrowser.runRequest(HttpClientFileSystemBrowser.java:259)
  at org.eclipse.ecf.provider.filetransfer.browse.AbstractFileSystemBrowser$DirectoryJob.run(AbstractFileSystemBrowser.java:69)
  at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)

 在帮同学安装一个Java的IDE Eclipse None时,出现各种报错,显示java.net.SocketException,然后又出现什么No File。。。好像是什么.zip出错,我很奇怪。纠结了好久,网上找了各种资料。终于在一篇英文网页上找到了似乎对的答案,上边说:需要选择安装包后右击->以管理员身份运行,我也试过了,还是不行。又认真看了一下那篇的回答,觉得挺对的。但找不到问题所在。后来问了一下她,原来她的系统本身就不是管理员身份登录的。换作管理员身份登录到她的系统之后,再以管理员身份运行。Perfect!完美解决。

 

安装Java的IDE Eclipse时出现java.net.SocketException,出现错误Installer failed,show.log

标签:error   pre   str   intern   问题   response   director   directory   blog   

原文地址:http://www.cnblogs.com/kingkangstudy/p/6087210.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!