天天看点

eclipse无法连接到makertplace

报错如下,以把eclipse文件夹和文件加入信任区还是连不上

Cannot open Eclipse Marketplace

Cannot install remote marketplace locations: Connection failed

This is most often caused by a problem with your internet connection. Please check your internet connection and retry.

Cannot complete request to http://marketplace.eclipse.org/catalogs/api/p: Unable to connect to repository http://marketplace.eclipse.org/catalogs/api/p

Unable to connect to repository http://marketplace.eclipse.org/catalogs/api/p

Connection to http://marketplace.eclipse.org refused

Connection failed

This is most often caused by a problem with your internet connection. Please check your internet connection and retry.

Connection to http://marketplace.eclipse.org refused

1.在eclipse.ini文件末尾添加-Djava.net.preferIPv4Stack=true

2.需要手动添加Eclipse Marketplace Client。

help–install new software–add

添加name: Eclipse Marketplace Client (随意起名)

Location:http://download.eclipse.org/mpc/indigo/

添加完成后,work with 选择Eclipse Marketplace Client

就可以下载了。下载完成后,重启eclipse,help–Eclipse Marketplace Client

继续阅读