SprngBoot异常:This application has no explicit mapping for /error, so you are seeing this as a fallback.

SprngBoot异常:This application has no explicit mapping for /error, so you are seeing this as a fallback.

这个问题是因为你用了Spring1.x的写法写了项目的访问路径

 2.X的版本不能识别这个路径

写成这样就好了

原文地址:https://www.cnblogs.com/Timeouting-Study/p/13277039.html