(Springboot Mybatis集合H2數據庫)解決ClassNotFoundException: org.h2.Driver

一、請先檢查本身的maven是否確實配置了h2的相關配置、倉庫是否正確下載了h2.*.jarweb 二、若是上述操做確認無誤,請往下看(多是因爲你配置了最新版的h2) 解決方案:數據庫 pom.xml裏面應該這樣來描述h2maven <!--H2數據庫-->              <!-- https://mvnrepository.com/artifact/com.h2database/h
相關文章
相關標籤/搜索