documentationPluginsBootstrapper

springboot集成knife4j时报异常documentationPluginsBootstrapper实际是因为使用springboot2.6.0后,配置swagger,不论是2.9.2还是3.0.0都报错

只需要配置如图

 

 

mvc: # 使用springboot2.6.0后,配置swagger,不论是2.9.2还是3.0.0都报错
    pathmatch:
      matching-strategy: ant_path_matcher

就ok

posted @ 2022-09-03 20:33  简单的李  阅读(1174)  评论(0编辑  收藏  举报