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)

解決方法:

這裏寫圖片描述

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