Mybatis提示错误信息
Caused by: org.apache.ibatis.binding.BindingException: Parameter ‘entities’ not found. Available parameters are [collection, list]
可以提升为一类问题
Caused by: org.apache.ibatis.binding.BindingException: Parameter ‘XXX’ not found. Available parameters are [collection, list]
解决办法:
需要在Dao层加上(@Param(“entities”)注解,如图
然后就可以解决问题了