1. springboot2.Xでのデータソースのデータソースに基づいてマーク@Primaryで、データソース、およびを必要としない場合@Primaryが報告されていない場合は、springboot1.xに書き込むには:
org.mybatis.spring.boot.autoconfigure.MybatisAutoConfigurationのメソッドsqlSessionTemplateのパラメーター0は、単一のBeanを必要とするが、2が見つかりました:
2.データソースの設定と同じspring1.xとspring2.xではありません。
spring1.xそのように構成:spring.datasource.master.url
spring2.xは、そのように構成:spring.datasource.master.jdbc-URL