Whitelabel Error Page
This application has no explicit mapping for /error, so you are seeing this as a fallback.
Fri Jul 14 20:01:05 CST 2023
There was an unexpected error (type=Not Found, status=404).
原文链接: link
依照指示将@SpringBootApplication后面指定controller包名
例如
@SpringBootApplication(scanBasePackages=“controller”)
我的是这样的
修改后可以成功运行