Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

fix: update spring-boot-version to 3.3.0 to fix gzip extraction error #3008

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

Merged
michael-simons merged 2 commits into spring-projects:main from NiceAsiv:main
Apr 29, 2025

Conversation

Copy link
Contributor

@NiceAsiv NiceAsiv commented Apr 27, 2025
edited
Loading

The version 3.2.0 is no longer listed as a supported version by start.spring.io. Updating to 3.3.0, which is officially supported, resolves this issue.

Overview

This pull request updates the Spring Boot version used for generating starter projects from 3.2.0 to 3.3.0.

Problem Description

While generating a starter project using start.spring.io, the following command was executed:

image

I can't create this project correctly

~ curl https://start.spring.io/starter.tgz \
 -d dependencies=webflux,data-neo4j \
 -d bootVersion=3.2.0 \
 -d baseDir=Neo4jSpringBootExample \
 -d name=Neo4j%20SpringBoot%20Example | tar -xzvf -
 % Total % Received % Xferd Average Speed Time Time Time Current
 Dload Upload Total Spent Left Speed
100 308 0 194 100 114 78 46 0:00:02 0:00:02 --:--:-- 125
gzip: stdin: not in gzip format
tar: Child returned status 1
tar: Error is not recoverable: exiting now

Investigation revealed:

  • The downloaded file was unusually small (~300 bytes).
  • file starter.tgz indicated that the content was not a valid gzip archive.
  • Inspecting the content showed an HTML error page rather than a project archive.
  • The cause was that bootVersion=3.2.0 is no longer a valid option on start.spring.io.

Changes

  • Updated the spring-boot-version setting to 3.3.0.

Signed-off-by: NiceAsiv <70969752+NiceAsiv@users.noreply.github.com>
Copy link
Collaborator

@michael-simons michael-simons left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice catch, and thanks for the PR.

Would you mind having a look at my suggestion?

Update spring-boot-version to 3.4.5 in antora.yml
Co-authored-by: Michael Simons <michael@simons.ac>
Signed-off-by: NiceAsiv <70969752+NiceAsiv@users.noreply.github.com>
Copy link
Contributor Author

No problem! I initially provided the minimum fix version, but it's definitely better to use the latest one.
Thank you for improving my change and for your contribution!

michael-simons reacted with hooray emoji

@michael-simons michael-simons merged commit a86b0a3 into spring-projects:main Apr 29, 2025
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Reviewers

@michael-simons michael-simons michael-simons approved these changes

Assignees
No one assigned
Labels
status: waiting-for-triage An issue we've not yet triaged
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

AltStyle によって変換されたページ (->オリジナル) /