报错This application has no explicit mapping for /error

完整错误:
Whitelabel Error Page
This application has no explicit mapping for /error, so you are seeing this as a fallback.

Sat May 29 20:07:50 CST 2021
There was an unexpected error (type=Not Found, status=404).

运行时出现了这个错误,认真检查后发现路径填错了。@RequestMapping(“xxx”) ,实际访问的路径与”xxx”要符合。
报错This application has no explicit mapping for /error
报错This application has no explicit mapping for /error
地址修改后正常
报错This application has no explicit mapping for /error

上一篇:使用guava变形数据结构


下一篇:C++ explicit 关键字