解決辦法一
yml或者Properties文件中配置
spring.freemarker.check-template-location=false
解決辦法二
@SpringBootApplication 注釋的類上加
@EnableAutoConfiguration(exclude = { FreeMarkerAutoConfiguration.class })
另:
度娘上有說是freemarker版本過低,date ,我是前后端分離的,壓根沒有配置freemarker。
