vscode-spring-initializr icon indicating copy to clipboard operation
vscode-spring-initializr copied to clipboard

How to create Spring Boot 2.7 project?

Open doggy8088 opened this issue 1 year ago • 5 comments

In Spring Initializr Java Support v0.11.2, it seems drop support for Spring Boot 2.7.

image

Is it possible add it back?

doggy8088 avatar Jan 08 '24 17:01 doggy8088

The extension lists versions based on the start.spring.io API, meaning that if you go to the website it will present you the same.

image

brunovieira97 avatar Jan 20 '24 12:01 brunovieira97

In fact, start.spring.io still support 2.7.2 generation. Just check the following link. It still supported, but the doesn't list the outdated versions.

https://start.spring.io/#!type=maven-project&language=java&platformVersion=2.7.2&packaging=jar&jvmVersion=17&groupId=com.example&artifactId=demo&name=demo&description=Demo%20project%20for%20Spring%20Boot&packageName=com.example.demo&dependencies=web

image

Is it possible add the hidden/outdated version back to the extension?

doggy8088 avatar Jan 23 '24 07:01 doggy8088

As you pointed out, it is still supported by the website, however for generating projects with 2.7 it is required to force this on the request, not relying on the API options.

As this project is entirely based on the API responses to show available options for each step, I believe it would "break" the original intent of this extension.

That is merely my opinion though, the project maintainers would be the best advisors on this issue. If it's considered as a valid addition, I would gladly make a PR for such change ;)

@jdneo and @testforstephen could you give us some guidance on this matter?

brunovieira97 avatar Mar 09 '24 01:03 brunovieira97

+1

WangFengtu1996 avatar Jun 07 '24 13:06 WangFengtu1996

I want to use spring boot 2.5.6 ?

WangFengtu1996 avatar Jun 07 '24 13:06 WangFengtu1996