原因:mybatis-plus和SpringBoot版本不对应 解决:SpringBoot对应的是mybatis-plus-spring-boot3-starter而不是mybatis-plus-spring-boot-starter