首页 > 编程语言 > 详细

POI - the Java API for Microsoft Documents

时间:2015-01-15 17:30:17      阅读:319      评论:0      收藏:0      [点我收藏+]

1.在Apache官网下载Apache最新poi版本:poi-bin-3.11-20141221.zip,解压;

这里要注意是在binary distribution 下载,binary distribution是jar包,source distribution是包含源文件的,可以打开java代码

2.在Eclipse中引入jar包:project—properties—Libraries—Add External JARs

Apache官网提供了一些例子:http://poi.apache.org/spreadsheet/quick-guide.html

注意:使用POI扩展包的时候出现“POI java.lang.NoClassDefFoundError: org/apache/xmlbeans/XmlException”异常,一般是由于POI的其中一个名为“xmlbeans-2.3.0.jar”(或其他版本)的扩展包没有添加到项目的Library里面。在poi-3.11中是在ooxml-lib下

POI - the Java API for Microsoft Documents

原文:http://www.cnblogs.com/captainlucky/p/4226353.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!