我有一个Spring Boot web应用程序。我使用Freemarker作为我的ViewResolver,我通过java配置所有的东西。Cannot find template location(s): [classpath:/templates/]
(please add some templates, check your FreeMarkerconfiguration, or set spring.freemarker.checkTemplateLocati
我有一个错误,我似乎找不到如何在线修复的答案。当我运行我的代码时,我在这里得到了这个错误。configuration, or set spring.freemarker.checkTemplateLocation=false)
at org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor.postProcessBeforeInitializationconfiguration, or set spring