autowire candidate for this dependency. Dependency annotations: {}

详细错误信息:

org.springframework.beans.factory.NoSuchBeanDefinitionException: No qualifying bean of type [oa.dao.common.AccessLogDao] found for dependency: expected at least 1 bean which qualifies as autowire candidate for this dependency. Dependency annotations: {}

 

原因:注解context:component-scan 中没有包含

你可能感兴趣的:(java,web)