SpringBoot整合Swagger启动错误,报 Failed to start bean 'documentationPluginsBootstrapper'; nested exception is java.lang.NullPointerException

在Spring Boot 2.6.X整合Swagger时,项目死活起不来,如下图

后面看了网上的大神,配置文件加上

spring.mvc.pathmatch.matching-strategy=ANT_PATH_MATCHER

神奇般好了,膜拜大佬!

posted @ 2022-03-08 17:47  ——椒盐皮皮虾  阅读(181)  评论(0)    收藏  举报