2018a Apache POI incompatibility with the Text Analytics Toolbox
Show older comments
I use Apache POI to write xlsx files and avoid the excel COM server. 2018a breaks this if I install the Text Analytics Toolbox. While removing this tool box is a workaround, can someone suggest which future versions will fully support writing XLSX files independently of the excel COM, and if it'll remove the need for use of Apache?
Thanks
4 Comments
Thomas Pfau
on 25 Sep 2018
Hi,
I'm in a similar position:
We are using POI to allow proper xlsx IO on unix systems, but beginning with 2017b the shipped Text analytics toolbox provides an, unfortunately incomplete or broken Apache POI in the tika-app.jar file.
It seems, that some dependency for this jars are not properly matched, as it is possible to load xls files and create HSSFWorkBooks but its impossible to create XSSFWorkbooks and thus read xlsx files.
This breaks a lot of things for Linux users and is pretty annoying. I tried to see, if there is any way to get the dependencies matched, but I couldn't find anything. Any help would be appreciated
Thomas Pfau
on 25 Sep 2018
Another update:
I tried to see, if there is just some missing dependency, that can be added in order to have it work, and according to the jar file this version of tiki-app uses POI 3.15. So I added all requirements for poi 3.15 to the class path.
Now, if I remove the tika-app.jar file from the path, and add the poi library components, I can get an XSSF factory, but if the tika-app jar is on the java class path trying to create an XSSFWorkbook leads to a Class Not Found error.
Jeff
on 25 Sep 2018
Thomas Pfau
on 9 Oct 2018
Unfortunately that doesn't help if you use POI to have a proper xls IO on a UNIX System, which is our use case.
Answers (0)
Categories
Find more on Argument Definitions in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!