Mapper接口通過@Autowired注入,報錯

在使用mybatis的代理進行開發時 <bean class="org.mybatis.spring.mapper.MapperScannerConfigurer"> <property name="basePackage" value="com.winner.mapper"/> </bean> Mapper接口通過@Autowired注入,在編輯情況下,無法找不到對應的bean,於是提示
相關文章
相關標籤/搜索