我的訪問查詢報錯,斷點不進DouserMApper接口
我的訪問查詢報錯,斷點不進DouserMApper接口
in context with path [] threw exception
[Request processing failed; nested exception is
org.apache.ibatis.binding.BindingException: Invalid bound statement (not
found): com.project.dao.UserDOMapper.selectByPrimaryKey] with root
cause
2019-02-01
UserDOMapper接口是直接跟下面的resources里邊的mapping文件的xml文件相配合的,你可以試著把xml文件里面的sql語句檢查一下。或者重寫一下