Invalid bound statement (not found): com.itheima.chapter0301.mapper.ArticleMapper.selectArticle

Invalid bound statement (not found): com.itheima.chapter0301.mapper.ArticleMapper.selectArticle

原因分析:找不到selectArticle方法,說明ArticleMapper到ArticleMapper.xml的映射除了問題

解決方法:仔細對ArticleMapper.xml的namespace屬性,或Crtl+鼠標左鍵點擊 看能否跳轉到ArticleMapper,發現寫錯了,修正即可

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