init datasource error, url: jdbc:oracle:
时间: 2023-09-21 07:07:05 浏览: 217
init datasource error, url: jdbc:oracle:thin:@127.0.0.1:1521:orcl是数据库初始化数据源时出现的错误。这个错误可能是由于无效的参数导致的,也可能是因为连接监听器拒绝了连接而引起的。正确的参数设置应该是jdbc.driverClassName=oracle.jdbc.driver.OracleDriver jdbc.url=jdbc:oracle:thin:@//192.168.118.197:1521/orcl jdbc.username=learn_in jdbc.password=123456。正确的参数设置可以解决这个错误。<span class="em">1</span><span class="em">2</span><span class="em">3</span>
#### 引用[.reference_title]
- *1* [记一次springboot + Druid + mybatis的大坑](https://blog.csdn.net/mlsama/article/details/105427178)[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_2"}}] [.reference_item style="max-width: 50%"]
- *2* *3* [程序连接oracle失败](https://blog.csdn.net/shog808/article/details/54134663)[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_2"}}] [.reference_item style="max-width: 50%"]
[ .reference_list ]
阅读全文