草庐IT

expectedatleast1beanwhichqualifie

全部标签

Noqualifyingbeanoftype‘com..xxMapper‘available:expectedatleast1beanwhichqualifiesasautowirecandidate

具体报错是这样Noqualifyingbeanoftype'com..xxMapper'available:expectedatleast1beanwhichqualifiesasautowirecandidate                 Dependencyannotations:{@org.springframework.beans.factory.annotation.Autowired(required=true)}首先,先翻译一下,大概意思是没有这个“com..xxMapper”类型的合格bean,可供mapper.xx映射器可用:希望至少有1个bean,它才可以作为自动连线