XMLBeans是Apache POI的依赖项,因此POI不会使用其他库。XMLBeans打包在我检查过的Apache
POI下载中,因此您应该可以使用它。您只需要确保在运行应用程序时xmlbeans jar文件在java类路径中即可。
我已经检查了可从http://poi.apache.org/download.html#POI-3.14获得的最新POI二进制tar.gz文件’poi-
bin-3.14.tar.gz’ ,提取了压缩的tar存档(我使用7-Zip),您将在poi-3.14 / ooxml-
lib目录中找到xmlbeans-2.6.0.jar。



