springboot(一)启动报错
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启动类的位置不对
【修改】将启动类放在最外层
例:Application在com.example包中,子包即为com.example.xxx
修改好后,重新运行文件,再访问,即可见访问正确