✅ 操作成功!

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

发布时间:2023-06-12 作者:admin 来源:文学

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

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

在启动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})

👁️ 阅读量:0