Cause: java.lang.IllegalArgumentException: Mapped Statements collection does not contain value

Error updating database.  Cause: java.lang.IllegalArgumentException: Mapped Statements collection does not contain value for com.skg.crm.pfmcePlan.persistence.entity.HrEffPfmcePscorePo.updateWhere
### Cause: java.lang.IllegalArgumentException: Mapped Statements collection does not contain value for com.skg.crm.pfmcePlan.persistence.entity.HrEffPfmcePscorePo.updateWhere] with root cause
java.lang.IllegalArgumentException: Mapped Statements collection does not contain value for com.skg.crm.pfmcePlan.persistence.entity.HrEffPfmcePscorePo.updateWhere
    at org.apache.ibatis.session.Configuration$StrictMap.get(Configuration.java:797)java

 

上面的錯誤通常是使用 mybatis 出現的錯誤,sql

百度了一下,說是由於,沒有找到 xml 裏面的 對應sql 的 id 值,或者是 namespace 錯了apache

或者是 id值寫錯 ,不存在的。、session

可是我出現這樣的問題是由於。個人項目比較大。繼承實現一堆堆的。mybatis

將項目從新編譯後就行了。沒有問題了。app

全部若是項目出現一些看起來沒有問題的,問題的時候,就應該從新編譯一下項目了。spa

相關文章
相關標籤/搜索