<bean id="basePackageMapper" class="org.mybatis.spring.mapper.MapperScannerConfigurer" >
</bean>
细心检查之下发现原来此处的包扫描没有配value值