如图所示
报错原因:缺少相关的依赖
org.mybatis.spring.boot mybatis-spring-boot-starter 2.2.2
添加之后并刷新依赖
不再报红
京公网安备 11010502049817号