springboot2.0版本以上的多数据源配置改成:
spring.datasource.refunddb.url=jdbc:mysql://refund地址
spring.datasource.refunddb.username=uat
spring.datasource.refunddb.password=uat
spring.datasource.refunddb.driver-class-name=com.mysql.jdbc.Driver
->
spring.datasource.refunddb.jdbc-url=jdbc:mysql://refund地址标签:lang,jdbc,uatspring,refunddb,数据源,mysql,报错,datasource,spring From: https://www.cnblogs.com/healthinfo/p/17240606.html
spring.datasource.refunddb.username=uat
spring.datasource.refunddb.password=uat
spring.datasource.refunddb.driver-class-name=com.mysql.jdbc.Driver
问题即解决
参考文章:
https://blog.csdn.net/weixin_40816738/article/details/126823798