My Oracle Support Banner

Error: 'java.lang.NoSuchMethodError: org.apache.commons.io.output.UnsynchronizedByteArrayOutputStream.builder()Lorg/apache/commons/io/output/UnsynchronizedByteArrayOutputStream$Builder;' in Agile Customization (Doc ID 3068078.1)

Last updated on JANUARY 18, 2025

Applies to:

Oracle Agile PLM Framework - Version 9.3.6.0 and later
Information in this document applies to any platform.

Symptoms


Customization fails with error.

java.lang.NoSuchMethodError: org.apache.commons.io.output.UnsynchronizedByteArrayOutputStream.builder()Lorg/apache/commons/io/output/UnsynchronizedByteArrayOutputStream$Builder;
at org.apache.poi.xssf.usermodel.XSSFWorkbook.newPackage(XSSFWorkbook.java:521)
at org.apache.poi.xssf.usermodel.XSSFWorkbook.(XSSFWorkbook.java:231)
at org.apache.poi.xssf.usermodel.XSSFWorkbook.(XSSFWorkbook.java:227)
at org.apache.poi.xssf.usermodel.XSSFWorkbook.(XSSFWorkbook.java:215)

 

Note: The same war is working fine from local eclipse.


The issue can be reproduced at will with the following steps:

1. Recompile the existing customization using later library versions : POI 5.2.4 and Commons IO 2.13 jars
2. Deploy and activate the war.
3. Run the customization.
4. Fails with error.

Changes

Apply patch 9.3.6.26.3 or 9.3.6.28.4

Cause

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Symptoms
Changes
Cause
Solution
References


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.