解決eclipse MAVEN項目導入使用intellij idea開發target目錄下不存在mapper.xml文件問題

之前使用eclipse作爲開發工具,導入idea後 maven clear install 以及tomcat 啓動均正常,但訪問數據庫開始出錯,出現找不到statement 錯誤。 項目的mapper .xml映射文件位置如下:   後來檢查發現編譯後的字節碼文件.class無誤,可是mapper層對應的mapper.xml都缺失了, 編譯後target 目錄結構如下(缺少mapper目錄): 解
相關文章
相關標籤/搜索