Skip to content

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

NiceAsiv
Copy link

@NiceAsiv NiceAsiv commented Apr 27, 2025

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.

@spring-projects-issues spring-projects-issues added the status: waiting-for-triage An issue we've not yet triaged label Apr 27, 2025
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?

@@ -24,7 +24,7 @@ asciidoc:
groupIdStarter: org.springframework.boot
artifactIdStarter: spring-boot-starter-data-neo4j
docs-neo4j-docker-version: 5
spring-boot-version: 3.2.0
spring-boot-version: 3.3.0
Copy link
Collaborator

Choose a reason for hiding this comment

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

Suggested change
spring-boot-version: 3.3.0
spring-boot-version: 3.4.5

I think it's totally ok, to go with the lastest one, or?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status: waiting-for-triage An issue we've not yet triaged
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants