这个问题是因为你用了Spring1.x的写法写了项目的访问路径
2.X的版本不能识别这个路径
写成这样就好了
SprngBoot异常:This application has no explicit mapping for /error, so you are seeing this as a fallback.
原文:https://www.cnblogs.com/Timeouting-Study/p/13277039.html