Springboot2.0踩得坑(embeddedservletcontainercustomizer)

Springboot2.0踩得坑(embeddedservletcontainercustomizer),第1张

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

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

欢迎分享,转载请注明来源:内存溢出

原文地址: https://outofmemory.cn/langs/737133.html

(0)
打赏 微信扫一扫 微信扫一扫 支付宝扫一扫 支付宝扫一扫
上一篇 2022-04-28
下一篇 2022-04-28

发表评论

登录后才能评论

评论列表(0条)

保存