首页 > 代码库 > freemarker.template.TemplateModelException: Don't know how to present an object of this type to a te

freemarker.template.TemplateModelException: Don't know how to present an object of this type to a te

   我在页面编写测试list标签代码一直通过不了,总是报freemarker.template.TemplateModelException: Don‘t know how to present an object of this type to a template: com.evan.Person。

解决办法是:将freemarker的2.2.8jar替换成2.3.16或2.3.21(目前最新)版本。

项目的运行源码下载地址:http://download.csdn.net/download/zl544434558/8183465

freemarker.template.TemplateModelException: Don't know how to present an object of this type to a te