POI 解析Word 需要的包

来源:互联网 发布:python 计时功能 编辑:程序博客网 时间:2024/05/17 01:14

使用POI解析word必须在maven中先导入以下四个包

poi-3.15.jar

poi-ooxml-3.15.jar
poi-scratchpad-3.15.jar

xmlbeans-2.5.0.jar

maven 依赖配置如下:

<dependencies><dependency><groupId>org.apache.poi</groupId><artifactId>poi</artifactId><version>3.15</version></dependency><dependency><groupId>org.apache.poi</groupId><artifactId>poi-ooxml</artifactId><version>3.15</version></dependency><!-- https://mvnrepository.com/artifact/org.apache.poi/poi-scratchpad --><dependency><groupId>org.apache.poi</groupId><artifactId>poi-scratchpad</artifactId><version>3.15</version></dependency><dependency><groupId>org.apache.xmlbeans</groupId><artifactId>xmlbeans</artifactId><version>2.5.0</version></dependency></dependencies>



http://elim.iteye.com/blog/2031335

0 0
原创粉丝点击