SpringBoot踩坑日常:Whitelabel Error PageThis application has no explicit mapping for /error, so you are

看看你的项目目录

MainApplication.class也就是启动类要和Controller同层

SpringBoot踩坑日常:Whitelabel Error PageThis application has no explicit mapping for /error, so you are_第1张图片

 

你可能感兴趣的:(SpringBoot踩坑日常,spring)