更新时间:2022-06-10 09:37:10
要使 OOXML 工作,您需要与 POI jar 分开打包的 POI-OOXML jar.
For OOXML to work you need the POI-OOXML jar which is separately packaged from the POI jar.
从以下位置下载 POI-OOXML jar -
Download the POI-OOXML jar from the following location -
http://repo1.maven.org/maven2/org/apache/poi/poi-ooxml/3.11/poi-ooxml-3.11.jar
对于 Maven2 添加以下依赖项 -
For Maven2 add the below dependency -
<dependency>
<groupId>org.apache.poi</groupId>
<artifactId>poi-ooxml</artifactId>
<version>3.11</version>
</dependency>