admin管理员组文章数量:1025208
前言
搭建项目报错为这个,阅读可知找不到这个通用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的包应该是不一致的
前言
搭建项目报错为这个,阅读可知找不到这个通用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的包应该是不一致的
本文标签: TypeBeandefiningConfigurationUserInfoDao
版权声明:本文标题:Consider defining a bean of type ‘com.dao.UserInfoDao‘ in your configuration. 内容由热心网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://it.en369.cn/jiaocheng/1738336761a1562838.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论