admin管理员组文章数量:1026989
在启动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})
在启动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})
本文标签: DataBaseEmbeddedPUTDerbyHSQL
版权声明:本文标题:【已解决】Consider the following: If you want an embedded database (H2, HSQL or Derby), please put it on 内容由热心网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://it.en369.cn/jiaocheng/1738336570a1562804.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论