Eclipse Marketplace error - Unexpected exception:

2020-05-29 19:39发布

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?

20条回答
看我几分像从前
2楼-- · 2020-05-29 20:24

I recently had this issue after making the switch to JDK 7 in Eclipse.

I solved the problem by changing the selected Installed JRE back to JDK 6 (Preferences -> Java -> Installed JREs). After making this change I could access the Marketplace.

Once I'd finished with the installing what I needed from the marketplace I switched my installed JRE back to the JDK 7 one.

查看更多
我欲成王,谁敢阻挡
3楼-- · 2020-05-29 20:25

I have got the same problem with eclipse indigo. I figure out the eclipse doesn't find the appropriate network Proxy for my network, because by default it uses window's proxy. So i just set windows network Proxy using control Panel or you can set it through Internet explorer.This worked for me.

查看更多
Bombasti
4楼-- · 2020-05-29 20:25

I had the same problem, but using firefox. Fixed it by changing

firefox>tools>options>advanced: network tab: settings:

and then selecting Auto-detect proxy settings for this network.

After I did this eclipse connected to the marketplace with no prob.

查看更多
小情绪 Triste *
5楼-- · 2020-05-29 20:27

I had same issue and I resolved it by removing java7 and added java6 in java compiler compliance on all my integrated java projects.

查看更多
太酷不给撩
6楼-- · 2020-05-29 20:29

I fixed this problem by (1) changing windows->preferences->gerneral->network connection: Active provider to "Manual". (2) configure the "proxy entries" below. Since my proxy listens on 8087 on my localhost, here is my configuration:

http : 127.0.0.1:8087
https : 127.0.0.1:8087
查看更多
男人必须洒脱
7楼-- · 2020-05-29 20:29

goto preferences => network connection

set proxy connection = Direct

查看更多
登录 后发表回答