Is there a tutorial on how to upgrade the Spring version to Spring 5.0? I can\'t find the Spring version in my pom.xml.
I found this: https://github.com/spring-projects/
You can find the Spring Framwork version of spring-boot-starter-X
by checking its pom.xml
. Navigate to its parent pom until you get to spring-boot-dependencies-VERSION.pom
. With InteliiJ, in the pom file, I can easily navigate to the parent pom by clicking on the reference in the file. I guess (or hope) you can do the same in other IDEs. Look for the property
, that's is the Spring Framwork version.
For example, I am using spring-boot-starter-web-1.3.8.RELEASE.jar
. Its parent pom is spring-boot-dependencies-1.3.8.RELEASE
which includes the property
with the value 4.2.8.RELEASE
.
You can change the Spring Framwork version by overriding this property in your pom that includes spring-boot-starter-X
dependency, but it is not recommended . Also note that the property name was changed to spring-framework.version
on later versions.