Springboot2.0踩得坑(embeddedservletcontainercustomizer)

    在写servlet容器配置的时候EmbeddedServletContainerCustomizer类死活调不出来,以为是自己写错了字母,毕竟这么一长串,后来新建class 还是么有,想到之前web的坑,可能又是2.0的锅

发现在Spring Boot2.0以上配置嵌入式Servlet容器时EmbeddedServletContainerCustomizer类被WebServerFactoryCustomizer替代

Springboot2.0踩得坑(embeddedservletcontainercustomizer)_第1张图片

你可能感兴趣的:(框架,springboot2.0)