swagger配置后,系统无法启动,报Failed to start bean 'documentationPluginsBootstrapper'
swagger与springboot版本不兼容解决方案:
1.swagger依赖版本过高,可以降低版本。
2.在swagger配置类的application.yml配置文件中添加如下内容:
spring:
mvc:
pathmatch:
matching-strategy: ant_path_matcher
我使用的方法二,完美解决。