美文网首页
SpringFox3 Failed to start bean

SpringFox3 Failed to start bean

作者: Gascognya | 来源:发表于2021-11-21 10:56 被阅读0次
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可解决

相关文章

网友评论

      本文标题:SpringFox3 Failed to start bean

      本文链接:https://www.haomeiwen.com/subject/tubptrtx.html