记一次 使用poi 4.1.2 转换docx xlsx jar包冲突错误
InputStream of class class org.apache.commons.compress.archivers.zip.ZipArchiveInputStream is not implementing InputStreamStatistics.
同时导入了poi4.1.2 和以下两个包 发现这个错误
发现报错的地方在这里 打断点进来 正常的应该是 ZipEncoding = NioZipEncoding
一路跟踪源码发现 跑到了
ZipArchiveInputStream类 继承了ArchiveInputStream 接口
一看所在位置出现在 indexer-cli jar包下 立马去掉这个jar包
冲突解决