Springboot配置多数据源事务管理出错
Parameter 0 of method sqlSessionTemplate in org.mybatis.spring.boot.autoconfigure.MybatisAutoConfiguration required a single bean, but 2 were found:Consider marking one of the beans as @Primary, updating the consumer to acce这个原因是在springboot配置多数据源的时候,可能在某
原创
2021-03-13 21:38:13 ·
3935 阅读 ·
3 评论