首页 > 其他分享 >swagger配置后,系统无法启动,报Failed to start bean 'documentationPluginsBootstrapper'

swagger配置后,系统无法启动,报Failed to start bean 'documentationPluginsBootstrapper'

时间:2023-10-23 14:46:14浏览次数:42  
标签:start Failed bean 版本 swagger documentationPluginsBootstrapper

swagger与springboot版本不兼容解决方案:

1.swagger依赖版本过高,可以降低版本。
2.在swagger配置类的application.yml配置文件中添加如下内容:

spring:
  mvc:
    pathmatch:
      matching-strategy: ant_path_matcher

我使用的方法二,完美解决。

标签:start,Failed,bean,版本,swagger,documentationPluginsBootstrapper
From: https://www.cnblogs.com/51python/p/17782344.html

相关文章