How to change embedded tomcat's version in existing spring boot app?

前端 未结 2 682
悲哀的现实
悲哀的现实 2020-12-18 02:00

I\'m currently running spring-boot version 1.4.0.RELEASE application with embedded tomcat. Included Tomcat\'s version is 8.5.4

There\'s a n

2条回答
  •  挽巷
    挽巷 (楼主)
    2020-12-18 02:23

    If you are using spring boot gradle plugin and spring boot starters ..you can customise the version by setting maven project properties in build.gradle.

    ext['tomcat.version'] = '8.5.34'

    You can find all the external dependencies that can be customised in spring-boot-dependencies

提交回复
热议问题