Mybatis查询数据时出现Could not set parameters for mapping错误

错误:Could not set parameters for mapping

原因:select语句中出现一条注释语句

解决方案:

1. 删除注释语句
2. 使用<!--注释-->进行注释
posted @ 2022-02-20 16:46  别来无恙!  阅读(325)  评论(0)    收藏  举报