错误页码如下:
Whitelabel Error Page
This application has no explicit mapping for /error, so you are seeing this as a fallback.
Thu Jan 04 16:38:31 CST 2018
There was an unexpected error (type=Not Found, status=404).
No message available
解决方案:
把主程序放到比controller文件同一个包或者controller上级包内.
最好直接放置在根目录里