Mybatis框架不同命名空间相同查询id出现queryById is ambiguous in Mapped Statements collection

异常简略信息如下:

org.apache.ibatis.exceptions.PersistenceException: 

### Error querying database.  Cause: java.lang.IllegalArgumentException: queryById is ambiguous in Mapped Statements collection 
(try using the full name including the namespace, or rename one of the entries)

解决方法:

这里写图片描述

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章