报错
Mapper’ 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 ‘cxxxxxxxxxxxMapper’ in your configuration.
原因是因为没有扫描到Mapper包
1,检查配置扫描包格式是否正确
2,启动类有没有指定扫描的包
3.Mapper层 加@Mapper