解决办法一

yml或者Properties文件中配置

spring.freemarker.check-template-location=false

解决办法二

@SpringBootApplication 注释的类上加
@EnableAutoConfiguration(exclude = { FreeMarkerAutoConfiguration.class })

另:

度娘上有说是freemarker版本过低,date ,我是前后端分离的,压根没有配置freemarker。

 

相关文章:

  • 2021-07-29
  • 2022-01-22
  • 2022-12-23
  • 2021-11-24
  • 2021-11-06
  • 2021-07-01
  • 2022-12-23
猜你喜欢
  • 2021-08-02
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-04-22
  • 2021-04-18
相关资源
相似解决方案