mybatis与springboot有对应版本,具体的可以去mybatis官网搜索,我用的springboot版本为2.7.7,mybatis的版本为2.3.1,目前没发现任何异常 官网:https://mybatis.net.cn/