Home > OS >  It's possible to download an older version of Spring Boot?
It's possible to download an older version of Spring Boot?

Time:01-11

I was trying to find a way to use or download a previous version of Spring Boot because i'm going to use Spring Security, as you know WebSecurityConfigurerAdapter is deprecated right now

sorry if there is an obvious answer to this, i'm new in Spring Boot, and idk if there's a way to do the thing i'm asking, and honestly i'm a little confuse about the new implementations :/

CodePudding user response:

If you're using a build-system like Maven, you could easily replace the version in the pom.xml
Otherwise, you could look on websites like jar-download.com if spring-boot doesn't offer a download for the jar itself.

CodePudding user response:

If you are using maven you can change the Spring boot version <version>2.7.3</version> in the pom.xml file. To use the Spring Security add the dependency

<dependency>
    <groupId>org.springframework.security</groupId>
    <artifactId>spring-security-config</artifactId>
    <version>5.6.5</version>
</dependency>
  • Related