错误信息:
This application has no explicit mapping for /error, so you are seeing this as a fallback.
There was an unexpected error (type=Not Found, status=404).
No message available
经检查,发现TestController这个Controller没有正确放到com.xxx.testdemo这个包下面导致的,控制器和主程序不在同一个包下,当然会出现Not Found 404的错误。