当你的spring-boot版本是2.7.x并且你的swagger版本是3.0.0以上的时候,项目启动会报错“org.springframework.context.ApplicationContextException: Failed to start bean 'documentationPluginsBootstrapper'; nested exception is java.lang.NullPointerException”
spring: mvc: pathmatch: matching-strategy: ant_path_matcher
或properties中添加spring.mvc.pathmatch.matching-strategy:ant_path_matcher