0

The application is created using spring boot version 1.2.5 Release. I can see that it includes an embedded tomcat version which is 8.0.23. Is it possible to upgrade to a recent tomcat version, let's say, tomcat 9 with spring boot 1.2.5 and still run the application? Or do we need to upgrade the spring boot version to be compatible with tomcat 9? Is there any documentation for the spring boot version compatibility with Tomcat? Thank you.

user3376592
  • 191
  • 1
  • 13

2 Answers2

1

Why do you want to upgrade it? What is the newer version of tomcat going to bring? I personally go with the defaults for the spring version unless there is a specific need or issue.

That being said this question may have some pointers How to change embedded tomcat's version in existing spring boot app?

You may be able to just set the property 9.0.5

Robbo_UK
  • 11,351
  • 25
  • 81
  • 117
1

It would be preferable to upgrade to the latest Spring Boot release (currently 2.2.5-RELEASE) to avail yourself of the latest features. There are many tutorials, migration guides, problem solutions, etc., out there to guide you, of which here are just a couple:

You didn't specify a reason for keeping your Spring Boot version at 1.2.5-RELEASE and only upgrading tomcat, but if you really must, there are other answers, such as here: How to change embedded tomcat's version in existing spring boot app?

Geyser14
  • 1,385
  • 3
  • 14
  • 32