Eclipse Marketplace错误-意外的异常:org / eclipse / equinox / internal / p2 / repository / RepositoryTransport [英] Eclipse Marketplace error - Unexpected exception: org/eclipse/equinox/internal/p2/repository/RepositoryTransport

查看:254
本文介绍了Eclipse Marketplace错误-意外的异常:org / eclipse / equinox / internal / p2 / repository / RepositoryTransport的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当我尝试在Eclipse中浏览Marketplace时,会显示以下信息:

When I try to surf the Marketplace in Eclipse it gives me this :

Unexpected exception: org/eclipse/equinox/internal/p2/repository/RepositoryTransport
java.lang.reflect.InvocationTargetException

可能是问题?
任何解决方案?

what might be the problem? any solutions?

推荐答案

当eclipse中的 SOCKS 代理处于配置错误。我位于局域网中的机器使用HTTP代理连接到Internet。在Eclipse的网络连接标签中,我已经配置了HTTP,HTTPS和SOCKS代理。在这种情况下,不需要SOCKS代理,并且清除SOCKS代理后,错误消失了,并且可以访问Eclipse Marketplace ... woohoo !!

I experienced this issue when the SOCKS proxy in eclipse was incorrectly configured. My machine which sits in a LAN connects to the internet using an HTTP proxy. In the Network Connections tab in eclipse, i had configured the HTTP, HTTPS and SOCKS proxy. The SOCKS proxy was not required in this case, and on clearing the SOCKS proxy, the error disappeared and Eclipse Marketplace became accessible...woohoo !!

解决步骤


  1. 在Eclipse中,单击Windows->首选项

  2. 在过滤器文本框中搜索网络连接

  3. 正确设置HTTP和HTTPS代理(如果使用代理连接到Internet)

    注意:如果要不使用代理连接到Internet,请使用 ActionProvider下拉列表中的 Direct配置文件设置。否则
    使用'手动'设置。

  4. 设置SOCKS代理(如果已配置SOCKS代理服务器),否则请清除此行。

  5. 应用更改并保存。

  1. In Eclipse, click Windows -> Preferences
  2. Search for 'Network Connections' in the 'filter' textbox
  3. Set HTTP and HTTPS proxies correctly ( If you are connecting to the internet using a proxy)
    Note : If you are connecting to the internet without proxy, use the 'Direct' profile setting in the 'ActionProvider' drop down. Else use the 'Manual' setting.
  4. Set SOCKS proxy ( If you have a SOCKS proxy server configured), otherwise clear this row.
  5. Apply the changes and save it.

现在应该可以使用Marketplace了。

Now Marketplace should become accessible for you.

有关Eclipse中网络连接配置的详细信息,请使用以下链接

For details on Network Connections configuration in Eclipse, use the following link

http://help。 eclipse.org/juno/index.jsp?topic=%2Forg.eclipse.platform.doc.user%2Freference%2Fref-net-preferences.htm&_sm_au_=iDMfvB6nQ​​s52SSSM

这篇关于Eclipse Marketplace错误-意外的异常:org / eclipse / equinox / internal / p2 / repository / RepositoryTransport的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆