Field girlDao in com.example.springbootdemo.service.impl.GirlServiceImpl required a bean of type 'com.example.springbootdemo.dao.GirlDao' that could not be found.
原因:启动类缺少注解MapperScan(""),dao包的路径
Field girlDao in com.example.springbootdemo.service.impl.GirlServiceImpl required a bean of type 'com.example.springbootdemo.dao.GirlDao' that could not be found.
原因:启动类缺少注解MapperScan(""),dao包的路径