springboot配置雙數據源 MySQL和SqlServer

看到網上好多實例,都失敗了,報掃描不到mapper文件,下面是個人完整實例html 1. pom文件的驅動jar包加上去,不說了java 2. application.yml mysql spring: datasource: master: jdbc-url: jdbc:mysql://10.12.49.55:3306/smartcity-01
相關文章
相關標籤/搜索