解決辦法一
yml或者Properties文件中配置
spring.freemarker.check-template-location=false
解決辦法二
@SpringBootApplication 注釋的類上加
@EnableAutoConfiguration(exclude = { FreeMarkerAutoConfiguration.class })
另:
度娘上有說是freemarker版本過低,date ,我是前后端分離的,壓根沒有配置freemarker。
解決辦法一
yml或者Properties文件中配置
spring.freemarker.check-template-location=false
解決辦法二
@SpringBootApplication 注釋的類上加
@EnableAutoConfiguration(exclude = { FreeMarkerAutoConfiguration.class })
另:
度娘上有說是freemarker版本過低,date ,我是前后端分離的,壓根沒有配置freemarker。
本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。