【发布时间】:2021-10-28 02:18:39
【问题描述】:
我尝试使用 application.properties 文件配置 oracle 的连接,但它给了我一个 IllegalArgumentException 消息“无效的 URL:r2dbc:oracle:thin:@localhost:1521:orcl”,当我使用MySql 网址。这是我的 application.properties:
spring.r2dbc.url=r2dbc:oracle:thin:@localhost:1521:orcl
spring.r2dbc.username=account
spring.r2dbc.password=account
请给我一个解释或解决方案,谢谢。
【问题讨论】:
-
你能添加你的 pom.xml 或 build.gradle 文件吗?
标签: spring kotlin oracle11g properties spring-data-r2dbc