springboot——报错:找不到dao中的mapper:Field estatedvpMapper in com.example.demo.service.impl.EstatedvpServiceImpl required a bean of type 'com.example.demo.dao.EstatedvpMapper' that could not be found.
解决方法:
1. 在mapper.java中加入@Mapper注解
2. 在Application中添加@MapperScan