Whitelabel Error Page

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

Wed Dec 14 16:35:25 CST 2016
There was an unexpected error (type=Not Found, status=404).
No message available

原因是【Application启动类放的位置不对】要将Application放在最外层,也就是要包含所有子包。

如下图

spring boot成功启动后访问报错404的问题

相关文章:

  • 2021-07-19
  • 2021-12-28
  • 2021-12-09
  • 2021-05-29
  • 2021-12-23
  • 2021-04-12
  • 2021-12-12
猜你喜欢
  • 2021-12-28
  • 2021-10-26
  • 2021-12-07
  • 2021-06-13
相关资源
相似解决方案