BindingException occurs when multiple datasources are configured in Spring Boot and MyBatis project
问题 This question comes along NoUniqueBeanDefinitionException when multiple datasouces in Spring Boot and Mybatis project. I try to configure two dataSources in Spring Boot and MyBatis project, but exception occurs: org.apache.ibatis.binding.BindingException: Invalid bound statement (not found): com.bookSystem.mapper.UserDao.findByDomain at org.apache.ibatis.binding.MapperMethod$SqlCommand.(MapperMethod.java:227) ~[mybatis-3.4.6.jar:3.4.6] at org.apache.ibatis.binding.MapperMethod.(MapperMethod