spring-boot整合mybatis使用druid數據源時:Failed to bind properties under'spring.datasource' to javax.sql.Data

其實,只是缺乏了報錯內容中的Value值中的mavenrepository數據apache 在pom.xml中引入stat ,wall,log4j就解決了。maven 個人只須要引入log4j就能正常運行項目了,( 由於Reason的緣由有寫,就是:org.apache.log4j.Logger )spa <!-- https://mvnrepository.com/artifact/log4j/
相關文章
相關標籤/搜索