Controller找不到页面 解决方法:因为thymeleaf中页面的位置错误,所以不能找到页面 。将页面放入正确位置就可以解决。 thymeleaf页面必须要放在static中templates文件夹下才能被扫描到。