解决:Error resolving template [/xxx], template might not exist or might not be accessible by any of the configured Template Resolvers 问题
相同访问路径,同等目录,访问leader.html页面就一直报以上的错误,访问不到页面。
然后我直接新建了一个html页面,把body里边的内容copy了过去之后,然后把访问路径下边的return 页面名称修改为新建的页面名称,就可以正常访问页面了。
(本人也是感觉很奇特,但是也并没有找到问题根源,但是问题算是解决了。)