Error starting ApplicationContext. To display the conditions report re-run your application with 'debug' enabled.
A component required a bean of type 'cn.iocoder.yudao.module.portal.dal.mysql.projectbase.ProjectBaseMapper' that could not be found.
Action:
Consider defining a bean of type 'cn.iocoder.yudao.module.portal.dal.mysql.projectbase.ProjectBaseMapper' in your configuration.
解决方案一:在对应的包下加入@Mapper注解
解决方案二:刷新一下依赖
文章讲述了在启动SpringBoot应用时遇到的错误,因找不到cn.iocoder.yudao.module.portal.dal.mysql.projectbase.ProjectBaseMapper类型的Bean。提供了两种解决方案:在对应包中添加@Mapper注解以及刷新依赖。
2万+

被折叠的 条评论
为什么被折叠?



