前言

搭建项目报错为这个,阅读可知找不到这个通用mapper接口

***************************
APPLICATION FAILED TO START
***************************

Description:

Field userInfoDao in com.picc.service.UserInfoService required a bean of type 'com.dao.UserInfoDao' that could not be found.


Action:

Consider defining a bean of type 'com.dao.UserInfoDao' in your configuration.


Process finished with exit code 1

解决

注解导包错了,两个mapper的包应该是不一致的

更多推荐

Consider defining a bean of type ‘com.dao.UserInfoDao‘ in your configuration.