swagger與springboot版本不兼容解決方案:
1.swagger依賴版本過高,可以降低版本。
2.在swagger配置類的application.yml配置文件中添加如下內容:
spring:
mvc:
pathmatch:
matching-strategy: ant_path_matcher
我使用的方法二,完美解決。
swagger與springboot版本不兼容解決方案:
1.swagger依賴版本過高,可以降低版本。
2.在swagger配置類的application.yml配置文件中添加如下內容:
spring:
mvc:
pathmatch:
matching-strategy: ant_path_matcher
我使用的方法二,完美解決。