If you want an embedded database (H2, HSQL or Derby), please put it on the c
时间: 2023-08-28 09:21:16 浏览: 183
这个报错是Spring Boot连接数据库时遇到的问题。报错提示说明没有在类路径中找到嵌入式数据库(H2、HSQL或Derby)。同时,也没有指定url属性以配置数据库,导致无法确定合适的驱动类。建议将嵌入式数据库放入类路径中,或者在配置文件中指定正确的url属性。如果有需要从指定配置文件加载数据库设置,请激活相应的配置文件。<span class="em">1</span><span class="em">2</span><span class="em">3</span>
#### 引用[.reference_title]
- *1* *2* [报错[已解决]:If you want an embedded database (H2, HSQL or Derby), please put it on the classpath.](https://blog.csdn.net/m0_51660523/article/details/117563226)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v92^chatsearchT3_1"}}] [.reference_item style="max-width: 50%"]
- *3* [If you want an embedded database (H2, HSQL or Derby), please put it on the classpath.](https://blog.csdn.net/weixin_38168838/article/details/102281452)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v92^chatsearchT3_1"}}] [.reference_item style="max-width: 50%"]
[ .reference_list ]
阅读全文