当前位置:网站首页>Magic POI error in reading excel template file
Magic POI error in reading excel template file
2022-06-27 21:44:00 【sorghum】
Project read excel Report errors , poi Version from 3.7 Rise to 4.1.2
Use a higher version api
workbook = WorkbookFactory.create(inputStream);
An unreadable error occurred
Your stream was neither an OLE2 stream, nor an OOXML stream
focused Find out maven Build the project excel File to target Catalog classes The folder will be compiled automatically Lead to poi Error reading file stream
Add a file that excludes the specified file maven The configuration can be
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-resources-plugin</artifactId>
<configuration>
<encoding>UTF-8</encoding>
<nonFilteredFileExtensions>
<nonFilteredFileExtension>xlsx</nonFilteredFileExtension>
<nonFilteredFileExtension>xls</nonFilteredFileExtension>
<nonFilteredFileExtension>xml</nonFilteredFileExtension>
<nonFilteredFileExtension>zip</nonFilteredFileExtension>
<nonFilteredFileExtension>rar</nonFilteredFileExtension>
<nonFilteredFileExtension>properties</nonFilteredFileExtension>
</nonFilteredFileExtensions>
</configuration>
</plugin>
</plugins>
</build>
边栏推荐
- 创建对象时JVM内存结构
- Go from introduction to actual combat - package (notes)
- squid代理服務器
- 100 important knowledge points that SQL must master: combining where clauses
- 100 important knowledge points that SQL must master: creating calculation fields
- Goldfish rhca memoirs: do447 managing projects and carrying out operations -- creating job templates and starting jobs
- 语言弱点列表--CWE,一个值得学习的网站
- Go从入门到实战——仅执行一次(笔记)
- What is the core competitiveness of front-line R & D personnel aged 35~40 in this position?
- 根据自定义excel标题模板快速excel导出
猜你喜欢
随机推荐
win11桌面出现“了解此图片”如何删除
Go从入门到实战——共享内存并发机制(笔记)
win11桌面出現“了解此圖片”如何删除
A set of system to reduce 10 times the traffic pressure in crowded areas
Ceph分布式存储
Go from introduction to practice - Interface (notes)
创建对象时JVM内存结构
如何将队列里面的内容没秒钟执行一次优先级
快递e栈——数组篇小型项目
oss上传调用的是哪个方法
Codeforces Round #721 (Div. 2)
Galaxy Kirin system LAN file sharing tutorial
Codeforces Round #723 (Div. 2)
At 19:00 on Tuesday evening, the 8th live broadcast of battle code Pioneer - how to participate in openharmony's open source contribution in multiple directions
Icml2022 | scalable depth Gaussian Markov random field
"Apprendre cette image" apparaît sur le Bureau win11 comment supprimer
Covering access to 2w+ traffic monitoring equipment, EMQ creates a new digital engine for all elements of traffic in Shenzhen
100 important knowledge points for SQL: in operator
流程控制任务
Set code exercise