在 mybaits-plus 中bean注入报错:nested exception is org.springframework.beans.factory.NoUniqueBeanDefinitionException: No qualifying bean of type ‘com.stitch.menu.service.IWebUserService’ available: expected single matching bean but found 2: webUserServiceImpl,IWebUserService
包扫描范围太大了,导致启动的时候回去创建代理对象,需要将包扫描范围缩小
具体到dao层或者mapper层
参考:点击查看