Failed to start bean 'documentationPluginsBootstrapper'; nested exception is java.lang.NullPointerException报错原因:
springboot2.6 之后请求路径与 Spring MVC 处理映射匹配的默认策略已从
AntPathMatcher 更改为PathPatternParser
设置处理映射匹配的策略为ant_path_matcher
1. 在配置文件中写入:
spring.mvc.pathmatch.matching-strategy=ant_path_matcher
2.降低Springboot版本
修改之后,方可正常启动Swagger



