Skip to content

Error Invalid entry size when build application with a dependency jar larger than 2,147,483,647 bytes with Gradle #24618

@pu-chen-dev

Description

@pu-chen-dev

Hi there, I was working on a Spring Boot application with has a dependency to a big size jar(over 4G). I got > Invalid entry size error with BootJar target.

It may be caused by the int type here, https://github.com/spring-projects/spring-boot/blob/master/spring-boot-project/spring-boot-tools/spring-boot-gradle-plugin/src/main/java/org/springframework/boot/gradle/tasks/bundling/BootZipCopyAction.java#L381

Environment:
OS: MacOS
JDK: openjdk 11

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions