Hiren Babariya created COMPRESS-694:
---------------------------------------
Summary: java.lang.NoSuchMethodError:
ZipArchiveOutputStream.putArchiveEntry
Key: COMPRESS-694
URL: https://issues.apache.org/jira/browse/COMPRESS-694
Project: Commons Compress
Issue Type: Bug
Components: Build
Affects Versions: 1.27.1, 1.26.2, 1.26.1, 1.26.0
Environment: On local and server also
Reporter: Hiren Babariya
Attachments: Screenshot 2025-02-04 at 4.30.21 PM.png
while spring boot upgrade 3.1.7 to 3.3.5 , I am facing below issue while
building jar
Errors :
> Task :bootJar FAILED == FAILURE: Build failed with an exception. * What went
> wrong: Execution failed for task ':bootJar'. > 'void
> org.apache.commons.compress.archivers.zip.ZipArchiveOutputStream.putArchiveEntry(org.apache.commons.compress.archivers.zip.ZipArchiveEntry)'
>
Caused by: java.lang.NoSuchMethodError: 'void
org.apache.commons.compress.archivers.zip.ZipArchiveOutputStream.putArchiveEntry(org.apache.commons.compress.archivers.zip.ZipArchiveEntry)'
Dependancy use -
implementation 'org.apache.commons:commons-compress:1.26.0' or
implementation 'org.apache.commons:commons-compress:1.26.2' or
implementation 'org.apache.commons:commons-compress:1.27.2'
--
This message was sent by Atlassian Jira
(v8.20.10#820010)