dataSource or dataSourceClassName or jdbcUrl is required.
时间: 2023-11-07 07:55:35 浏览: 1096
这个错误提示意味着在配置数据源时,需要提供dataSource、dataSourceClassName或jdbcUrl其中的一个参数。在Spring Boot中,你可以使用DataSourceBuilder类来配置数据源。如果你遇到了这个错误,可以参考一些博文和社区讨论来解决问题,例如前辈的博文《springboot 2 Hikari 多数据源配置问题(dataSourceClassName or jdbcUrl is required)》。在这篇博文中,可能提供了一些解决方法或者指导。你可以检查你的配置文件是否正确,并确保你提供了正确的数据源参数。<span class="em">1</span><span class="em">2</span><span class="em">3</span>
#### 引用[.reference_title]
- *1* *2* *3* [HikariPool-1 - dataSource or dataSourceClassName or jdbcUrl is required.解决方案](https://blog.csdn.net/hadues/article/details/102567458)[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^v93^chatsearchT3_1"}}] [.reference_item style="max-width: 100%"]
[ .reference_list ]
阅读全文
相关推荐


















