diff --git a/initializr-web/src/main/java/io/spring/initializr/web/controller/ProjectGenerationController.java b/initializr-web/src/main/java/io/spring/initializr/web/controller/ProjectGenerationController.java index 39afcbdcd1..fb34741ed8 100644 --- a/initializr-web/src/main/java/io/spring/initializr/web/controller/ProjectGenerationController.java +++ b/initializr-web/src/main/java/io/spring/initializr/web/controller/ProjectGenerationController.java @@ -145,6 +145,7 @@ public ResponseEntity springTgz(R request) throws IOException { private TarArchiveOutputStream createTarArchiveOutputStream(OutputStream output) { try { TarArchiveOutputStream out = new TarArchiveOutputStream(new GzipCompressorOutputStream(output)); + out.setBigNumberMode(TarArchiveOutputStream.BIGNUMBER_POSIX); out.setLongFileMode(TarArchiveOutputStream.LONGFILE_POSIX); return out; }