【问题标题】:spring-boot tomcat security vulnerabilities patchingspring-boot tomcat 安全漏洞补丁
【发布时间】:2016-02-12 19:40:55
【问题描述】:

由于 spring-boot 带有嵌入式 tomcat 容器,我想知道修补程序是如何完成的。如果我决定使用嵌入式方法并且发现安全漏洞并且tomcat社区已经发布了补丁,我如何将该补丁应用到Spring-boot附带的嵌入式tomcat容器中。

任何帮助将不胜感激,因为这将有助于决定走独立 tomcats v 嵌入式的传统路线。

【问题讨论】:

    标签: spring-boot


    【解决方案1】:

    根据this Spring blog post,你可以指定你想要的任何版本的Tomcat。只要它发布到 Maven 存储库,只需将以下属性添加到您的 Maven 构建属性中,指定您喜欢的任何版本:<tomcat.version>8.0.3</tomcat.version>

    有关 Maven Central 中当前可用的版本,请参阅 http://mvnrepository.com/artifact/org.apache.tomcat.embed/tomcat-embed-core

    【讨论】:

    • 感谢 Kevin,我可以通过更改 pom.xml 中的属性成功更改 tomcat 版本
    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 2022-12-19
    • 2015-05-03
    • 1970-01-01
    • 1970-01-01
    • 2017-11-24
    • 2011-12-17
    • 1970-01-01
    相关资源
    最近更新 更多