Spring boot Oracle数据源配置

正确:
custom.datasource.Oracle.driverClassName = oracle.jdbc.driver.OracleDriver custom.datasource.Oracle.url=jdbc:oracle:thin:@//127.0.0.1:1521/XE custom.datasource.Oracle.username=ods custom.datasource.Oracle.password=ods
错误: 地址内应该为// 而不是 :
custom.datasource.Oracle.driverClassName = oracle.jdbc.driver.OracleDriver custom.datasource.Oracle.url=jdbc:oracle:thin:@:127.0.0.1:1521:XE custom.datasource.Oracle.username=ods custom.datasource.Oracle.password=ods
posted @ 2018-06-25 15:59  New_Crazy  阅读(7446)  评论(0编辑  收藏  举报