启动服务器访问出现
Whitelabel Error Page
This application has no explicit mapping for /error, so you are seeing this as a fallback.
Thu Dec 21 13:56:03 CST 2017
There was an unexpected error (type=Not Found, status=404).
No message available
解决方案:
只需要把Application.java启动类放到相对于其他类的最外层包,如下:
第一种是错的:
第二种是对的: