如果我的问题无效,我很抱歉,但想知道 fastxml(jackson-dataformat-xml) 和 Woodstox 之间的关系是什么。文档(https://github.com/FasterXML/jackson-dataformat-xml https://github.com/FasterXML/jackson-dataformat-xml)建议我在使用 jackson-dataformat-xml 时添加 Woodstox 的 Maven 依赖项。
jackson-dataformat-xml 项目不喜欢 JDK 提供的 Stax 实现(至少不是 JDK 8 提供的实现)。
https://github.com/FasterXML/jackson-dataformat-xml/issues/32#issuecomment-236204012 https://github.com/FasterXML/jackson-dataformat-xml/issues/32#issuecomment-236204012有更多信息,但如果您想使用该库,最终您将需要 Stax 替代品(如 woodstox)。
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)