在启动spring boot项目的时候遇见:Consider the following: If you want an embedded database (H2, HSQL or Derby), please put it on the错误:
解决方案:在spring boot的启动类上面加上如下代码即可:
@EnableAutoConfiguration(exclude={DataSourceAutoConfiguration.class})

更多推荐

【已解决】Consider the following: If you want an embedded database (H2, HSQL or Derby