当我突然遇到此错误时,我正在尝试在Eclipse Oxygen上安装一些依赖项。完整的错误消息是:
Cannot open Eclipse Marketplace
Cannot install remote marketplace locations: Cannot complete request to http://marketplace.eclipse.org/catalogs/api/p: Invalid response content: The element type "link" must be terminated by the matching end-tag "</link>".
Cannot complete request to http://marketplace.eclipse.org/catalogs/api/p: Invalid response content: The element type "link" must be terminated by the matching end-tag "</link>".
Invalid response content: The element type "link" must be terminated by the matching end-tag "</link>".
The element type "link" must be terminated by the matching end-tag "</link>".
Received response begins with:
1: <!DOCTYPE html>
2:
3: <html lang="en">
Cannot complete request to http://marketplace.eclipse.org/catalogs/api/p: Invalid response content: The element type "link" must be terminated by the matching end-tag "</link>".
Invalid response content: The element type "link" must be terminated by the matching end-tag "</link>".
The element type "link" must be terminated by the matching end-tag "</link>".
Received response begins with:
1: <!DOCTYPE html>
2:
3: <html lang="en">
以前很好。安装用于氧气的IBM WebSphere Application Server V8.5x开发人员工具后,我开始看到此错误。我是Eclipse的新手,所以不确定如何调试它。
是的,我有Internet,没有安装防病毒软件(它在CentOS VM中运行)。我还尝试过将网络连接设置重置为默认设置,但无法正常工作。
答案 0 :(得分:1)
将marketplace.eclipse.org/catalogs/api*
添加到代理绕过设置即可解决此问题