SEVERE: Exception sending context initialized event to listener instance of class org.springframework.web.context.ContextLoaderListener org.springframework.beans.factory.BeanCreationException: Error creating bean with name ‘archCompanyAction‘: Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: private com.honghailt.accountant.sys.service.ArchCompanyServiceImpl com.honghailt.accountant.sys.action.ArchCompanyAction.service; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name ‘archCompanyServiceImpl‘: Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: private com.honghailt.accountant.sys.dao.ArchCompanyDao com.honghailt.accountant.sys.service.ArchCompanyServiceImpl.dao; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No qualifying bean of type [com.honghailt.accountant.sys.dao.ArchCompanyDao] found for dependency: expected at least 1 bean which qualifies as autowire candidate for this dependency. Dependency annotations: {@org.springframework.beans.factory.annotation.Autowired(required=true)}
解决方案:待解决
时间: 2024-10-06 00:22:22