You need to enable JavaScript to run this app.
优惠活动
大模型
产品
解决方案
定价
更多

Eclipse搜索安装Cucumber插件时遇XML无效字符错误求助

Eclipse Marketplace搜索Cucumber插件时出现XML无效字符错误(JRE11升级后)

环境信息

  • Eclipse版本:Eclipse IDE for Java Developers(包含孵化组件)2024-12 (4.34.0)
  • 触发前提:按要求在pom.xml的properties节点添加以下配置升级JRE到11后(后续需配合Jenkins使用JRE11)
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<maven.compiler.source>11</maven.compiler.source>
<maven.compiler.target>11</maven.compiler.target>

错误现象

尝试搜索并安装Cucumber插件时,弹出以下错误:

MarketplaceDiscoveryStrategy failed with an error
Cannot complete request to https://marketplace.eclipse.org/api/p/search/apachesolr_search/cucumber?client=org.eclipse.epp.mpc.core&os=win32&platform.version=4.34: Invalid response content: An invalid XML character (Unicode: 0xde80) was found in the CDATA section.
Invalid response content: An invalid XML character (Unicode: 0xde80) was found in the CDATA section.
An invalid XML character (Unicode: 0xde80) was found in the CDATA section.
Received response begins with:

1:
2:
3:

查看Eclipse错误日志,得到:

org.xml.sax.SAXParseException; lineNumber: 25; columnNumber: 1; An invalid XML character (Unicode: 0xde80) was found in the CDATA section.

已尝试的解决方案

  • 手动配置网络连接
  • 添加代理设置
  • 安装相关证书

以上方案均未解决问题,确认该错误并非本地XML文件解析导致,而是Eclipse Marketplace API与搜索功能之间的兼容性问题,寻求技术支持。

内容的提问来源于stack exchange,提问作者Mohammed Hossain

相关产品推荐
方舟 Agent Plan

超全模态模型 × Harness 升级,最新支持 Deepseek-V4.1-Flash、GLM-5.3 系列、Doubao-Seedream-5.0-pro、Kimi-K3 (部分), 限时 9.9 元起

最近更新时间:2026.06.12 14:54:53