出现这样的错,我是将poi的版本更新到最新解决的
<dependency>
<groupId>org.apache.poi</groupId>
<artifactId>poi</artifactId>
<version>4.0.1</version>
</dependency>
<dependency>
<groupId>org.apache.poi</groupId>
<artifactId>poi-ooxml</artifactId>
<version>4.0.1</version>
</dependency>
org.apache.poi.xssf.usermodel.XSSFCell.getCellTypeEnum()Lorg/apache/poi/ss/usermodel/CellType
poi地址: https://mvnrepository.com/artifact/org.apache.poi/poi
poi-ooxml的地址:https://mvnrepository.com/artifact/org.apache.poi/poi-ooxml

本文介绍了解决使用Apache POI库时遇到的问题,通过将POI及其OOXML模块更新到4.0.1版本,成功解决了特定错误。文章提供了依赖项配置示例及下载链接。
2万+





