今天写毕设的时候运行Application时出现了此错误
原因是SpringBoot版本过高,mybatis版本过低不兼容,只需要把mybatis版本升级到3.0.3即可
<!--mybatis依赖--> <dependency> <groupId>org.mybatis.spring.boot</groupId> <artifactId>mybatis-spring-boot-starter</artifactId> <version>3.0.3</version> </dependency>