Could not copy file from resources,

I am using boot jar to build a jar, in my project there is a file in main/resources that exceeds filesize 4Gb. because of that getting below exception. so could anyone please help me.

so

Caused by: org.apache.commons.compress.archivers.zip.Zip64RequiredException: BOOT-INF/classes/***.data.json’s size exceeds the limit of 4GByte.
at org.apache.commons.compress.archivers.zip.ZipArchiveOutputStream.checkIfNeedsZip64(ZipArchiveOutputStream.java:653)
at org.apache.commons.compress.archivers.zip.ZipArchiveOutputStream.handleSizesAndCrc(ZipArchiveOutputStream.java:641)
at org.apache.commons.compress.archivers.zip.ZipArchiveOutputStream.closeArchiveEntry(ZipArchiveOutputStream.java:514)
at org.springframework.boot.gradle.tasks.bundling.BootZipCopyAction$Processor.processFile(BootZipCopyAction.java:218)
at org.springframework.boot.gradle.tasks.bundling.BootZipCopyAction$Processor.process(BootZipCopyAction.java:166)
… 74 more

Why do you have a file to exceeds 4 GB there…?

Maybe this link helps:
https://docs.gradle.org/current/dsl/org.gradle.api.tasks.bundling.Jar.html?_ga=2.61944236.1617860792.1583747377-432512876.1557937475#org.gradle.api.tasks.bundling.Jar:zip64