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,发现写错了,修正即可

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