How to change the tomcat version in spring boot?

I want to change the spring boot embedded tomcat version due to vulnerability in existing version. How can we do that without any impact??

1 Like

Hello @naveen.gupta :innocent:

Here are some steps to follow these steps I hope this will helpful for you

  • To define the preferred tomcat version; edit your pom.xml. Add or update the required version of the spring boot starter tomcat requirement for java.
  • Make that your spring Boot version and the new tomcat version work together.
  • Use a test server to run your application and look for issues caused by the version change.
  • To reduce the effect; release the update gradually.