Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
pu-chen-dev opened this issue Dec 28, 2020 · 0 comments
Assignees
Milestone

Comments

@pu-chen-dev
Copy link

@pu-chen-dev pu-chen-dev commented Dec 28, 2020

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

@wilkinsona wilkinsona added this to the 2.3.x milestone Jan 4, 2021
@philwebb philwebb changed the title Error > Invalid entry size when build application with big size of dependency jar Error Invalid entry size when build application with big size of dependency jar Jan 4, 2021
@wilkinsona wilkinsona changed the title Error Invalid entry size when build application with big size of dependency jar Error Invalid entry size when build application with a dependency jar larger than 2,147,483,647 bytes Jan 5, 2021
@wilkinsona wilkinsona self-assigned this Jan 11, 2021
@wilkinsona wilkinsona changed the title Error Invalid entry size when build application with a dependency jar larger than 2,147,483,647 bytes Error Invalid entry size when build application with a dependency jar larger than 2,147,483,647 bytes with Gradle Jan 12, 2021
@wilkinsona wilkinsona modified the milestones: 2.3.x, 2.3.8 Jan 12, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
3 participants