1.
1.1
1.2
1.3把这个注销后能正常运行
1.4原因,取了两个一样的名字
2.问题
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'test.testClocking':Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: private Quartz.LoginUserQuartz test.testClocking.loginUserQuartz; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No qualifying bean of type [Quartz.LoginUserQuartz] 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)}
2.1原因
在主配置文件中没有引入定时器文件