原文:SpringBoot经典报错Error creating bean with name ‘transactionManager‘ defined in class path resource

如题,有人已经做过阐述,但今天碰到了一个,开始以为是org.springframework的spring jdbc版本跟org.springframework.boot的版本不匹配。但然而并不是,试了多个版本,都不行。 最后发现因为用了mybatis plus,少引入一个依赖:org.mybatis.spring.boot的mybatis spring boot starter。 还是理解学得不 ...

2021-06-18 16:48 0 342 推荐指数:

查看详情

 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM