如果是自己手工创建的springboot项目的话
在创建mapper包结构的时候一定要用 /
用.的话会扫描不到,会报如下错误
Description:
Field cloudNoteDao in com.csc.service.CloudNoteServiceImpl required a bean of type 'com.csc.dao.CloudNoteDao' that could not be found.
Action:
Consider defining a bean of type 'com.csc.dao.CloudNoteDao' in your configuration.