部分pom
org.springframework.boot spring-boot-starter-parent2.6.2 com.github.xiaoymin knife4j-spring-boot-starter2.0.7
把spring-boot-starter-parent的版本由2.5.8升级到2.6.2报标题的错误,具体原因未知。
解决方案1:回退版本到2.5.8
解决方案2:配置
spring.mvc.pathmatch.matching-strategy=ant_path_matcher
参考文章:
1
2



