<bean />   <!--   错误   No setter found for                        property 'templateLoaderPath' in class
'org.springframework.web.servlet.view.freemarker.FreeMarkerConfigurer'    -->

第一次配置spring+freemarker,从网上copy下来的,但总是报错,个人感觉应该是包的问题,结果把freemarker的包检查了N遍都不行,最后发现原来是缺少了spring下的*context.support*.jar,导入该包,一切正常。

相关文章:

  • 2021-04-14
  • 2021-04-01
  • 2021-12-21
  • 2020-01-14
  • 2021-11-27
  • 2021-08-10
  • 2021-08-05
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2021-11-07
  • 2022-12-23
  • 2022-12-23
  • 2021-08-19
  • 2021-05-18
  • 2021-06-06
相关资源
相似解决方案