报错信息如下
This application has no explicit mapping for /error, so you are seeing this as a fallback. Sat Sep 04 23:54:59 CST 2021 There was an unexpected error (type=Not Found, status=404).
1.其他的可能就是有过滤器
2.是否启动类有自己配置
3.排除以上两种问题,本身就是基本框架对应的版本包与swagger包不兼容引起的,引入对应的包即可解决问题,其他的分析都是扯淡