您的位置: 首页 > 文章 > Error evaluating expression ‘poorProperty‘. Return value (4#5#6) was not iterable. Error evaluating expression ‘poorProperty‘. Return value (4#5#6) was not iterable. 分类: 文章 • 2024-05-29 18:49:37 问题描述 poorProperty是参数名,4#5#6为值 当时前台传值是这样的 poorProperty:4,5,6 然后xml的sql语句用了foreach,然后就报错了,如果值不是数组的时候就会报这个错。 检查xml当中是否使用了foreach 解决方案: