javaeye 阅读(56) 评论(0)

错误信息:

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

 

Sat Day 16 18:21:38 CST 2020
There was an unexpected error (type=Not Found, status=404).
No message available

 

经检查,发现TestController这个Controller没有正确放到com.xxx.testdemo这个包下面导致的,
控制器和主程序不在同一个包下,当然会出现Not Found 404的错误。


发表评论
切换编辑模式