springboot+thymeleaf return方法报错

SpringBoot + thymeleaf return方法报错[THYMELEAF][http-nio-8080-exec-2] Exception processing template “process/fankui/teachers”: Error resolving template template might not exist or might not be accessible by any of the configured Template Resolvers
org.thymeleaf.exceptions.TemplateInputException: Error resolving template template might not exist or might not be accessible by any of the configured Template Resolvers**

在使用Springboot+thymeleaf时一个登录页面,登录成功跳转到其他页面,但是那个页面是由控制器的进入的,所以在判断成功之后的return,要return那个页面的控制器方法名,在这里出现上面的错误。
查了很多,但是大都没有关于跳转方法报错的解决方法

Html页面

springboot+thymeleaf return方法报错

Controller页面

springboot+thymeleaf return方法报错
第一次运行是上图的代码,问题出在了return prefix+“/teachers”上,这里报了上面的错,
补上代码:private String prefix = “process/fankui”;

返回路径图片

springboot+thymeleaf return方法报错

报错路径页面

springboot+thymeleaf return方法报错
报500的错误
当我尝试去了prefix时和/+prefix时,结果一样
之后网上的资料显示有几种方法:

1:直接写上返回路径的名字(自己尝试无效)
2: 重定向 “redirect:/####”;(尝试之后,发现如果加上/对我这边无效,去了便可以正常显示,实验之前觉得这可能跟结果返回方法路径前面的/有关系,测试之后发现我重定向的路径不能有/,结果返回方法路径同时也要有/)

本人正确修改方法是去掉返回路径的的"/"