当前位置:网站首页>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>
边栏推荐
猜你喜欢

Go from entry to practice - dependency management (notes)

富文本 考试 填空题

本周二晚19:00战码先锋第8期直播丨如何多方位参与OpenHarmony开源贡献

How to delete "know this picture" on win11 desktop

Go from starting to Real - Interface (note)

Go从入门到实战——package(笔记)

Tiktok's interest in e-commerce has hit the traffic ceiling?

Go从入门到实战——Context与任务取消(笔记)

"Apprendre cette image" apparaît sur le Bureau win11 comment supprimer

AI 绘画极简教程
随机推荐
Icml2022 | scalable depth Gaussian Markov random field
Knowledge sorting of exception handling
Go from introduction to practice - Interface (notes)
io流代码
What is the core competitiveness of front-line R & D personnel aged 35~40 in this position?
微服务之远程调用
Go从入门到实战——Panic和recover(笔记)
有时间看看ognl表达式
CORBA 架构体系指南(通用对象请求代理体系架构)
快速excel导出
Go从入门到实战——CSP并发机制(笔记)
Codeforces Round #722 (Div. 2)
JVM memory structure when creating objects
Go from entry to practice -- CSP concurrency mechanism (note)
After being forced to develop the app within 20 days, the group was laid off, and the technical director angrily criticized it: I wish "closure as soon as possible!"
Go from entry to practice - multiple selection and timeout control (notes)
Industry case | see the operation of bank digital transformation from the king of retail
Save method of JPA stepping pit series
豆沙绿保护你的双眼
100 important knowledge points that SQL must master: using functions to process data