mybatis Mapped Statements collection already contains value for
nested exception is java.lang.IllegalArgumentException: Mapped Statements collection already contains value for com.immo.framework.dao.imkbsystem.SmsMapper.selectByPrimaryKey
改了專案的一些目錄結構,檢視報錯資訊,以為是xml有重複的以selectByPrimaryKey為ID的值。
但是發現其實是我的daoImpl類忘記了加@Repository。。然後加了這個以後,還是報錯!!!!