{"id":"6743e0b118873542","repo":"spring-projects/spring-boot","slug":"zstd-compression-is-not-supported","errorCode":null,"errorMessage":"zstd compression is not supported","messagePattern":"zstd compression is not supported","errorType":"exception","errorClass":"IllegalStateException","httpStatus":null,"severity":"error","filePath":"buildpack/spring-boot-buildpack-platform/src/main/java/org/springframework/boot/buildpack/platform/io/TarArchive.java","lineNumber":135,"sourceCode":"\t\t * The tar file is not compressed.\n\t\t */\n\t\tNONE((inputStream) -> inputStream),\n\n\t\t/**\n\t\t * The tar file is compressed using gzip.\n\t\t */\n\t\tGZIP(GZIPInputStream::new),\n\n\t\t/**\n\t\t * The tar file is compressed using zstd.\n\t\t */\n\t\tZSTD(\"zstd compression is not supported\");\n\n\t\tprivate final ThrowingFunction<InputStream, InputStream> uncompressor;\n\n\t\tCompression(String uncompressError) {\n\t\t\tthis((inputStream) -> {\n\t\t\t\tthrow new IllegalStateException(uncompressError);\n\t\t\t});\n\t\t}\n\n\t\tCompression(ThrowingFunction<InputStream, InputStream> wrapper) {\n\t\t\tthis.uncompressor = wrapper;\n\t\t}\n\n\t\tInputStream uncompress(InputStream inputStream) {\n\t\t\treturn this.uncompressor.apply(inputStream);\n\t\t}\n\n\t}\n\n}\n","sourceCodeStart":117,"sourceCodeEnd":150,"githubUrl":"https://github.com/spring-projects/spring-boot/blob/5b2dbdbb8be64415eb6552f81ff7c449c8d251e6/buildpack/spring-boot-buildpack-platform/src/main/java/org/springframework/boot/buildpack/platform/io/TarArchive.java#L117-L150","documentation":"Error \"zstd compression is not supported\" thrown in spring-projects/spring-boot.","triggerScenarios":"Thrown at buildpack/spring-boot-buildpack-platform/src/main/java/org/springframework/boot/buildpack/platform/io/TarArchive.java:135 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":[],"exampleFix":null,"handlingStrategy":null,"validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"analyzedSha":"5b2dbdbb8be64415eb6552f81ff7c449c8d251e6","analyzedAt":"2026-08-04T18:53:14.967Z","schemaVersion":2}