Field courseMapper in com.qfedu.provider.course.provider.CourseProvider required a bean of type ‘com.qfedu.dao.course.CourseMapper’ that could not be found.
The injection point has the following annotations:
- @org.springframework.beans.factory.annotation.Autowired(required=true)
Action:
Consider defining a bean of type ‘com.qfedu.dao.course.CourseMapper’ in your configuration.
解决办法:添加注解:@MapperScan(“com.qfedu.dao”)
spring-cloud 没有扫描到dao层的jar包
最新推荐文章于 2022-10-21 17:54:36 发布