经研究发现是少了依赖:
<dependency> <groupId>com.baomidou</groupId> <artifactId>mybatis-plus-boot-starter</artifactId> <version>3.3.1</version> </dependency>
解决:
标签:boot,baomidou,plus,mybatis,报错,com From: https://www.cnblogs.com/zhaoyijunjava/p/17009243.html