How to modify the version downgrade of springboot

Before the downgrade is successful, the spring dependency is always version 6.0.3 

Will the pom in 

After the spring-boot-starter-parent version drops to 2.6.6, it is still impossible to introduce the corresponding 5.3.18 dependency

Finally, after all the dependencies of the project are shielded, the dependencies are updated and refreshed, and the corresponding lower version dependencies are introduced.

Guess: It may be that the original dependencies affect the downgrade of the springboot version dependencies

 

 <dependency>
            <groupId>org.springframework.boot</groupId>
            <artifactId>spring-boot-starter-data-redis</artifactId>
            <version>2.6.9</version>
        </dependency>

This dependency should conflict with springboot 2.6.6, both exist at the same time and cannot be downgraded.

This dependency is the official dependency provided by redis selected when initially creating the project 

 

Guess you like

Origin blog.csdn.net/xss12322/article/details/128707857