XML-BEANS compiled schema: Could not locate compiled schema resource 异常处理

这篇具有很好参考价值的文章主要介绍了XML-BEANS compiled schema: Could not locate compiled schema resource 异常处理。希望对大家有所帮助。如果存在错误或未考虑完全的地方,请大家不吝赐教,您也可以点击"举报违法"按钮提交疑问。

使用poi5.2.2生成ppt,生成堆叠图,设置值时抛出异常

XML-BEANS compiled schema: Could not locate compiled schema resource org/apache/poi/schemas/ooxml/system/ooxml/stoverlappercent872etype.xsb (org.apache.poi.schemas.ooxml.system.ooxml.stoverlappercent872etype) - code 0

异常显示缺少stoverlappercent872etype.xsb文件,检查poi-ooxml包和关联引入的poi-ooxml-lite包均正常引入且无冲突。

检查poi-ooxml-lite包下org/apache/poi/schemas/ooxml/system/ooxml目录显示有stoverlappercent872etype.xsb文件。但是无法读取,此处可能是poi5.2.2的bug

github查找到此issues,按回答引入poi-ooxml-full包,问题解决。

<dependency>
   <groupId>org.apache.poi</groupId>
   <artifactId>poi-ooxml-full</artifactId>
   <version>5.2.2</version>
</dependency>

相关链接:

apache poi 升级至5.1.0后的SchemaTypeLoaderException: XML-BEANS compiled schema: Could not locate compiled schema resource · Issue #732 · Sayi/poi-tl · GitHub文章来源地址https://www.toymoban.com/news/detail-647022.html

到了这里,关于XML-BEANS compiled schema: Could not locate compiled schema resource 异常处理的文章就介绍完了。如果您还想了解更多内容,请在右上角搜索TOY模板网以前的文章或继续浏览下面的相关文章,希望大家以后多多支持TOY模板网!

本文来自互联网用户投稿,该文观点仅代表作者本人,不代表本站立场。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如若转载,请注明出处: 如若内容造成侵权/违法违规/事实不符,请点击违法举报进行投诉反馈,一经查实,立即删除!

领支付宝红包 赞助服务器费用

相关文章

  • Could not locate supplied template: react+ts搭建

    我们在是用下create-react-app之前要下载一下 使用一下命令创建ts的react框架 create-react-app my-app --scripts-version=react-scripts-ts 我们用以上创建之后会提示一段代码选择“Y”之后发现我们创建的项目没有模板,提示 同时打开我们创建的项目没有以下模板文件 命令行如下 create-react-a

    2024年02月15日
    浏览(28)
  • idea报“Could not autowire. No beans of ‘UserMapper‘ type found. ”错解决办法

    idea具有检测功能,接口不能直接创建bean的,需要用动态代理技术来解决。 1.修改idea的配置 1.点击file,选择setting 2.搜索inspections,找到Spring 3.找到Spring子目录下的Springcore 4.在Springcore的子目录下找到code 5.把seyerity选项改成警告 2.修改代码 1,@Autowrited改为@Autowrited(required = false)

    2024年02月05日
    浏览(53)
  • 解决SpringBoot项目中的报错:Could not autowire,no beans of “XXX“ type found

    问题:找不到mapper注入的bean,如图   分析:注入mapper有两种方式:  第一种:在启动类中添加  @MapperScan        然后在mapper的类中添加  @Repository 注解 第二种方法:直接在各个mapper类中添加@Mapper注解,但是一定要注意导入正确的包,否则解决不了这个异常;  很多新手

    2024年02月08日
    浏览(44)
  • IDEA提示找不到Mapper接口:Could not autowire.No beans of ‘xxxMapper‘ type found

    我们可以看到,上面的红色警告在提示我们,找不到 xxxMaper 这个类型的 bean。 为啥呢? 因为 @Mapper 这个注解是 Mybatis 提供的,而 @Autowried 注解是 Spring 提供的,IDEA能理解 Spring 的上下文,但是却和 Mybatis 关联不上。而且我们可以根据 @Autowried 源码看到,默认情况下,@Autowri

    2024年02月08日
    浏览(37)
  • SpringBoot - 在IDEA中经常发现:Could not autowire. No beans of ‘xxx‘ type found的错误

    错误描述 在SPRINGBOOT的项目中,使用IDEA时经常会遇到Could not autowire. No beans of ‘xxxx’ type found的错误提示,但是程序的编译和运行都没有问题,这个错误提示并不影响项目的生产。 解决方案

    2024年02月15日
    浏览(43)
  • Could not locate executable null\bin\winutils.exe in the Hadoop binaries.

    在windows系统本地运行spark的wordcount程序,会出现一个异常,但不影响现有程序运行。 发现是因为在Windows环境中缺少winutils.exe程序。 因为一般情况下Hadoop、spark都是运行在Linux系统下的,在windows下运行时需要安装Windows下运行的支持插件:hadoop2.7-common-bin。 原因分析 :https://

    2024年02月13日
    浏览(30)
  • 【RUST】mac m1编译rust项目失败: could not compile `` due to previous error

    2.1 查看clang: 结果如下: 2.2 查看llvm-ar: 结果如下: 2.3 如果没有安装llvm-ar,安装命令如下: 2.4 查看是否安装成功命令: 结果如下: 2.5 重新执行cargo 命令: 执行cargo clean: 执行一次带AR参数的cargo命令(本人执行一次就好了): 如果没有没有报错, 后续就可以使用正常的

    2024年02月07日
    浏览(46)
  • 虚幻引擎图文笔记:could not be compiled. Try rebuilding from source manually.问题的解决

    从SVN上Checkout的必要文件,在其它电脑上构建过一次没有问题,结果到了这台比较新的电脑上出现了如下问题⬇: 尝试生成sln文件⬇: 弹出了如下提示⬇: 在.NET Core官网下载并安装.NET Core。 于是又出现了如下提示 在这里下载并安装framework的指定版本,我这里要求安装 3.1.

    2024年02月11日
    浏览(42)
  • Could not locate executable null\bin\winutils.exe in the Hadoop binaries解决方式

    Failed to locate the winutils binary in the hadoop binary path Could not locate executable nullbinwinutils.exe in the Hadoop binaries   仔细查看报错是缺少winutils.exe程序。 Hadoop都是运行在Linux系统下的,在windows下eclipse中运行mapreduce程序,要首先安装Windows下运行的支持插件(我的是hadoop2.2.0) GitHub - sr

    2024年02月12日
    浏览(35)
  • 详细解决redis.clients.jedis.exceptions.JedisConnectionException: Could not get a resource from the pool

    今天从 gitlab 上下载本公司的项目,但在启动时报出如下错误: 具体的错误信息为 redis.clients.jedis.exceptions.JedisConnectionException: Could not get a resource from the pool 。 根据上述报错信息可知,这是 redis 出现了错误。 首先,检查我的 redis 的配置信息,如下代码所示: 据此可以看出,

    2024年02月09日
    浏览(30)

觉得文章有用就打赏一下文章作者

支付宝扫一扫打赏

博客赞助

微信扫一扫打赏

请作者喝杯咖啡吧~博客赞助

支付宝扫一扫领取红包,优惠每天领

二维码1

领取红包

二维码2

领红包