ClassNotFoundError: org.apache.commons.io.output.UnsynchronizedByteArrayOutputStream
Activity
Show:
Resolved
Details
Details
Assignee
Adrien Ragot
Adrien RagotReporter
Adrien Ragot
Adrien RagotRequirement Yogi
Linked requirements
Requirement Yogi
Linked requirements
Created January 25, 2022 at 4:31 PM
Updated February 20, 2022 at 12:41 PM
Resolved January 25, 2022 at 5:27 PM
When exporting a Requirement Yogi matrix to Excel in Confluence 7.4.0, we have a ClassNotFoundError.
It is due to the fact that we import Confluence's Apache Commons IO, in version 2.8.0, whereas Apache POI depends on 2.11.
Therefore, we must ship commons-io in version 2.11 in our jar, since we can't downgrade Apache POI to depend on commons-io-2.8.0.
The jar goes from 18.02 MB to 18.34 MB, and 18.38 MB with Apache POI upgrade.