本文共 428 字,大约阅读时间需要 1 分钟。
报错: com.bdos.base.web.module.market.controller.MarketController.deleteComment(MarketController.java:203) MSG: XXXX
org.mybatis.spring.MyBatisSystemException: nested exception is org.apache.ibatis.builder.BuilderException: Error evaluating expression ‘ids’. Return value (2) was not iterable出现这种错误:
Error evaluating expression ‘’’’. Return value () was not iterable原因: mapper.xml文件中遍历List 时,该参数的实际值为非List数据。请仔细检查传入mybatis的参数类型。
转载地址:http://fwamb.baihongyu.com/