在启动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), please put it on
最新推荐文章于 2024-04-15 16:27:38 发布