1、spring boot中bean工厂没有创建,因为bean扫描未到不在同一路径或子包下。

2、设置扫描注册路径或每一个mapper加入@Mapper注解

 

 

Logo

一站式 AI 云服务平台

更多推荐