junit测试报错 Error creating bean with name ‘ssh_01.TestDao\创建ssh_01.TestDao失败
org.springframework.beans.factory.BeanCreationException: Error creating bean with name ‘ssh_01.TestDao’: Injection of resource dependencies failed; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No qualifying bean of type [Dao.ExamPaperDao] found for dependency: expected at least 1 bean which qualifies as autowire candidate for this dependency. Dependency annotations: {@javax.annotation.Resource(shareable=true, mappedName=, type=class java.lang.Object, authenticationType=CONTAINER, lookup=, description=, name=)}
at