org.springframework.boot.autoconfigure.jdbc.DataSourceProperties$DataSourceBeanCreationException: Cannot determine embedded database driver class for database type NONE. If you want an embedded database please put a supported one on the classpath. If you have database settings to be loaded from a particular profile you may need to active it (no profiles are currently active).
at org.springframework.boot.autoconfigure.jdbc.DataSourceProperties.determineDriverClassName(DataSourceProperties.java:218)
問下 您有沒有報(bào)過這個(gè)錯(cuò)誤
spring boot 實(shí)例之 連接數(shù)據(jù)庫前面的體驗(yàn)告一段落了。這里開始,做些實(shí)際業(yè)務(wù)的服務(wù)。一般情況,服務(wù)是需要連接數(shù)據(jù)庫的。我們先從數(shù)據(jù)庫連接開始。選擇MySQL數(shù)據(jù)庫 新建模塊 在前面的bhparent下面建立...