Skip to content

NIFI-15642 - Fix commons-io java.lang.NoSuchMethodError#47

Merged
bbende merged 1 commit intoapache:mainfrom
pvillard31:NIFI-15642
Feb 24, 2026
Merged

NIFI-15642 - Fix commons-io java.lang.NoSuchMethodError#47
bbende merged 1 commit intoapache:mainfrom
pvillard31:NIFI-15642

Conversation

@pvillard31
Copy link
Contributor

[ERROR] Failed to execute goal org.apache.nifi:nifi-nar-maven-plugin:2.3.0-SNAPSHOT:nar (default-nar) on project nifi-kafka-service-api-nar: Execution default-nar of goal org.apache.nifi:nifi-nar-maven-plugin:2.3.0-SNAPSHOT:nar failed: An API incompatibility was encountered while executing org.apache.nifi:nifi-nar-maven-plugin:2.3.0-SNAPSHOT:nar: java.lang.NoSuchMethodError: 'org.apache.commons.io.input.BoundedInputStream$Builder org.apache.commons.io.input.BoundedInputStream.builder()' 

The error is caused by NIFI-15632 which upgraded maven-archiver from 3.6.4 to 3.6.6. This upgrade brought in plexus-archiver:4.10.4, which depends on plexus-io:3.6.0 and commons-compress:1.28.0. Both of these require commons-io:2.20.0. However, maven-dependency-plugin:3.9.0 transitively depends on maven-shared-utils:3.4.2, which brings in commons-io:2.11.0. We need to pin the version of commons-io.

Copy link
Contributor

@bbende bbende left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

+1

@bbende bbende merged commit 87de3aa into apache:main Feb 24, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants