Could not autowire. No beans of 'xxxx' type found的错误提示

新导出的项目,总出现Could not autowire. No beans of 'xxxx' type found的错误提示, 现在有两个解决办法 1:降低Autowired检测的级别,将Severity的级别由之前的error改成warning或其它可以忽略的级别。 如果没有效果,看方法二 2:在接口的class 加入@Component,如第一个截图的 UserInfoMapper,按ct
相关文章
相关标签/搜索