SpringFox3 Failed to start bean

2021-11-21  本文已影响0人  Gascognya
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可解决

上一篇 下一篇

猜你喜欢

热点阅读