Cannot find template location(s): [classpath:/templates/]

版权声明:本文为 testcs_dn(微wx笑) 原创文章,非商用自由转载-保持署名-注明出处,谢谢。 https://blog.csdn.net/testcs_dn/article/details/80914838

SpringBoot 项目启动后,可能在控制台看到这样一个警告:

WARN 8904 — [  restartedMain] o.s.b.a.f.FreeMarkerAutoConfiguration 

Cannot find template location(s): [classpath:/templates/] (please add some templates, check your FreeMarker configuration, or set spring.freemarke

点赞