今天遇到这个问题。mark一下 freemark list 循环变量必须是List变量。不能使实体变量,不然会报类型错误。 转载于:https://www.cnblogs.com/haimingwey/archive/2012/07/18/2597142.html