Whitelabel Error Page

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

Wed Dec 14 11:26:45 CST 2019
There was an unexpected error (type=Not Found, status=404).
No message available

【错误原因】Application.java启动类的位置不对
【修改】将启动类放在最外层
springboot(一)启动报错
例:Application在com.example包中,子包即为com.example.xxx

修改好后,重新运行文件,再访问,即可见访问正确

相关文章:

  • 2021-06-25
  • 2021-12-16
  • 2021-04-08
  • 2021-07-05
  • 2021-08-02
  • 2021-12-15
猜你喜欢
  • 2021-08-13
  • 2021-07-26
  • 2021-06-26
相关资源
相似解决方案