前提:
按照教程最简思路,整合freemarker却无法通过前端访问,下载教程demo启动却可以,显示进行配置也行,为啥??
搜了下发现是spring-boot的默认配置问题,若2.0+(具体版本不知),后缀名需要显示配置:
spring.freemarker.suffix=.ftl
资料:
https://cloud.tencent.com/developer/article/1582377
https://www.cnblogs.com/silvestris/p/12037704.html