I try to config the oracle's connection by using application.properties file but it gives me an IllegalArgumentException with message "Invalid URL: r2dbc:oracle:thin:@localhost:1521:orcl", it was fine when I set with the MySql URL. Here is my application.properties:
spring.r2dbc.url=r2dbc:oracle:thin:@localhost:1521:orcl
spring.r2dbc.username=account
spring.r2dbc.password=account
please give me an explanation or solution for this, thank you.
Please try with
spring.r2dbc.url=r2dbc:oracle:thin://localhost:1521:orcl