A component required a bean of type 'com.yonyou.cloud.mid.sales.domain.repository.SalesOrderRepository' that could not be found.
Error creating bean with name 'rabbitConnectionFactory': Singleton bean crea
A component required a bean of type 'com.yonyou.cloud.mid.sales.domain.repos
由于repository 继承了
SalesOrderRepository
, 没有创建 SalesOrderRepository 的实现类继承 IService(mybatis-plus中接口) 的实现类 ServiceImpl .
并且实现类没有定义mapper接口.
创建 实现类喝Mapper 接口.
对应明白即可.