Unsatisfied dependency expressed through field 'baseMapper'
如果你使用的springboot 3.0.x 版本 一定更改 maven啊,前提你的配置没问题哦
<dependency>
<groupId>com.baomidou</groupId>
<artifactId>mybatis-plus-boot-starter</artifactId>
<version>3.5.3</version>
</dependency>
解决SpringBoot3.0.x中的BaseMapper依赖问题
在使用SpringBoot3.0.x版本时遇到了baseMapper字段的依赖未满足的问题。确保你的maven配置正确,并引入了MyBatis-Plus的3.5.3版本依赖。检查配置文件以排除任何潜在的配置错误。
1万+






