Skip to content
Advertisement

xls file is corrupted after upgrading apache poi from version 4.0.1 to the latest versions ( version 4.1.2 and version 5.0.0)

The below code works fine with apache poi version 4.0.1 but after upgrading apache poi to the latest versions (version 4.1.2 or version 5.0.0) the xls file generated is corrupted and when i try to open it i cannot find any data inside. (the size of the xls file after upgrading the poi.jar was updated from 4KO to 0KO.)

JavaScript

Could you please advise? Thanks,

enter image description here enter image description here

Advertisement

Answer

Issue resolved by adding commons-math3.jar to my project.

User contributions licensed under: CC BY-SA
7 People found this is helpful
Advertisement