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

開發環境:IDEA+Mybatis+Spring 錯誤如圖: 檢查過各層註解、mapper.xml配置文件,包掃描都沒問題,後來發現在編譯的target/classes目錄中沒有mapper.xml。   解決辦法: 在pom.xml中添加 <!--編譯時增加xml文件--> <build> <resources> <resource> <direc
相關文章
相關標籤/搜索