Failed to start bean 'documentationPluginsBootstrapper'; nested exception is java.lang.NullPointerException: Cannot invoke "org.springframework.web.servlet.mvc.condition.PatternsRequestCondition.getPatterns()" because "this.condition" is null
SpringBoot更新至2.6.0,引发了这个bug。
在配置文件里加一条spring.mvc.pathmatch.matching-strategy=ant_path_matcher
可解决