目录 一、问题描述 二、解决方法 一、问题描述 springboot2.0 配置多数据源时报错: spring: shardingsphere: datasource: names: ds-master-0,ds-master-1 # 第一个数据源 ds-master-0: