Whitelabel Error Page 404 spring boot初学 访问templates出错解决方法@SpringBootApplication这个注解所在的类,这里是指HelloWorld这个类,一定要放在其他类之上,不然一定启动错误。