Office格式错误org.apache.poi.poifs.filesystem.OfficeXmlFileException: The supplied data appears to be in the Office 2007+ XML. You are calling the part of POI that deals with OLE2 Office Documents. Y...
Office格式错误
org.apache.poi.poifs.filesystem.OfficeXmlFileException: The supplied data appears to be in the Office 2007+ XML. You are calling the part of POI that deals with OLE2 Office Documents. You need to call a different part of POI to process this data (eg XSSF instead of HSSF)
OfficeXmlFileException
该错误意思是说,文件中的数据是用Office2007+XML保存的,而现在却调用OLE2 Office文档处理,应该使用POI不同的部分来处理这些数据,比如使用XSSF来代替HSSF。
编程基础网
本文标题为:导入Excel报错:org.apache.poi.poifs.filesystem.OfficeXmlFileException: The supplied data appears
基础教程推荐
猜你喜欢
- Centos7 nginx启动脚本 2023-09-22
- 利用Apache部署静态网站(一) 2023-09-09
- centos 7智熄直接断电导致无法启动 2023-09-23
- Docker镜像与容器的导入导出以及常用命令总结 2022-11-24
- Apache索引目录浏览的学习笔记 2023-09-28
- win10搭建配置ftp服务器的方法 2022-11-12
- apache 环境下 php 的配置注意事项 2022-09-01
- centos7 nginx配置ssl证书实现https访问同时http访问 2023-09-22
- Apache Spark源码走读之15 -- Standalone部署模式下的容错性分析 2023-09-28
- apache+tomcat实现session共享 2023-09-08
