?@xiangzepro:呼叫大神們:No qualifying bean of type 'com.spring.springboot.dao.AreaDao' available: expected at least 1 bean which qualifies as autowire candidate. Dependency annotations: {@org.springframework.beans.factory.annotation.Autowired(required=true)}
聽(tīng)說(shuō)是啟動(dòng)文件,沒(méi)有用@ComponentScan這個(gè)屬性掃描,我試著掃描了,好像又報(bào)了Failed to load ApplicationContxt錯(cuò)誤,它們的截圖如下,請(qǐng)大神指點(diǎn)@xiangzepro
結(jié)果運(yùn)行又報(bào)了
請(qǐng)大神指點(diǎn)
2018-09-13
已解決,使用@MapperScan("com.spring.springboot.dao")