转载:https://blog.csdn.net/ityqing/article/details/81941109
springboot引入Thymeleaf后,访问页面提示:
Error resolving template [hello2], template might not exist or might not be accessible by any of the configured Template Resolvers
后来参考转载的文章,发现是目录名写错了ORZ。。。,把template目录改成templates就可以了