Very strange, did not move the test class, a few days before the test fairly well, today suddenly unable to read the configuration file, nasty,
Labeled as part of the log first:
Java. Lang. An IllegalStateException: Failed to load ApplicationContext
Under Caused by: org. Springframework. Beans. Factory. BeanCreationException: Error creating bean with the name 'constructionUserController: Injection of resource dependencies failed; Nested exception is org. Springframework. Beans. Factory. BeanCreationException: Error creating bean with the name 'constructionUserService: Injection of resource dependencies failed; Nested exception is org. Springframework. Beans. Factory. NoSuchBeanDefinitionException: No qualifying bean of type [com. Jason. ConstructionManagement. Dao. IConstructionUserDao] found for the dependency: expected at further 1 bean which qualifies as autowire candidate for this dependency, the dependency annotations: {@ javax.mail. The annotation. The Resource (shareable=true, lookup=, name=, the description=, authenticationType=CONTAINER, type=class. Java lang. Object, mappedName=)}
Under Caused by: org. Springframework. Beans. Factory. BeanCreationException: Error creating bean with the name 'constructionUserService: Injection of resource dependencies failed; Nested exception is org. Springframework. Beans. Factory. NoSuchBeanDefinitionException: No qualifying bean of type [com. Jason. ConstructionManagement. Dao. IConstructionUserDao] found for the dependency: expected at further 1 bean which qualifies as autowire candidate for this dependency, the dependency annotations: {@ javax.mail. The annotation. The Resource (shareable=true, lookup=, name=, the description=, authenticationType=CONTAINER, type=class. Java lang. Object, mappedName=)}
Under Caused by: org. Springframework. Beans. Factory. NoSuchBeanDefinitionException: No qualifying bean of type [com. Jason. ConstructionManagement. Dao. IConstructionUserDao] found for the dependency: expected at further 1 bean which qualifies as autowire candidate for this dependency, the dependency annotations: {@ javax.mail. The annotation. The Resource (shareable=true, lookup=, name=, the description=, authenticationType=CONTAINER, type=class. Java lang. Object, mappedName=)}
Pom. XML