IDEA:處理org.apache.ibatis.binding.BindingException: Invalid bound statement (not found)

報錯信息:org.apache.ibatis.binding.BindingException: Invalid bound statement (not found): com.pet.mapper.UserMapper.queryUser 錯誤緣由:*Mapper.xml沒有自動複製到class輸出目錄的mapper類包下 解決方法: 用maven或者IDEA中自動掃描了resources目錄
相關文章
相關標籤/搜索