gpt4 book ai didi

Java:未找到 Openxmlformats.schemas.officeDocument.x2006.docPropsVTypes.CTArray

转载 作者:行者123 更新时间:2023-12-02 09:53:15 24 4
gpt4 key购买 nike

当我尝试编译项目时,出现org.openxmlformats.schemas.officeDocument.x2006.docPropsVTypes.CTArray not found错误。我读到这与 openxml jar 有关。我正在使用 Apache POI,我已经下载了 POI-4.1.0.rar 并将其添加到我的 Netbeans 库中。该 rar 包含一个 poi-ooxml-schemas.jar,我认为这是导致错误的原因。但是我不确定这是否是导致错误的原因,或者我是否缺少一个 jar 。

这是我的项目中的库的概述。 Jars

最佳答案

我遇到了与您描述的完全相同的异常。我遵循了这个建议:https://stackoverflow.com/a/38262782/4101334

Finbarr O'B 响应的第二部分有修复说明。这部分也很重要:“请务必从 maven pom.xml 中删除 poi-ooxml-schemas 依赖项,以便上面的 ooxml-schemas 优先。”

关于Java:未找到 Openxmlformats.schemas.officeDocument.x2006.docPropsVTypes.CTArray,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/56167460/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com