你可以把鼠标放上去看看报错信息
已解决,导包的问题倒错了,之前时java项目换了springboot项目后,mybatis包倒错了!
<dependency> <groupId>org.mybatis</groupId> <artifactId>mybatis</artifactId> <version>3.5.6</version> </dependency>
加这个就好!