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的版本不能识别这个路径

写成这样就好了

 

posted @ 2020-07-09 23:58  Timeouting  阅读(503)  评论(0编辑  收藏  举报