Springboot啟動報錯
Description:
Failed to configure a DataSource: 'url' attribute is not specified and no embedded datasource could be configured.
Reason: Failed to determine a suitable driver class
Action:
Consider the following:
If you want an embedded database (H2, HSQL or Derby), please put it on the classpath.
If you have database settings to be loaded from a particular profile you may need to activate it (no profiles are currently active).
Process finished with exit code 1
2019-10-13
現(xiàn)在的版本基本都是2.1.9,與以前不同。所以必須配置數(shù)據(jù)庫的url等信息,建議先將pom文件當(dāng)中關(guān)于mybatis的注釋掉運行。
2019-06-02
2019-04-07
pom中先注釋掉與mybatis相關(guān)的
2019-03-28
這個是properties文件里面得數(shù)據(jù)庫url沒有配置