2015-11-30 17:45:38.827 [localhost-startStop-1] [WARN ] org.springframework.web.context.support.XmlWebApplicationContext {AbstractApplicationContext.java:487} - Exception encountered during context initialization - cancelling refresh attempt
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'quartzController': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: private com.zhht.job.service.SchedulerJobService com.zhht.job.controller.QuartzController.jobService; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'jobService': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: private com.zhht.job.service.impl.SchedulerHelper com.zhht.job.service.impl.SchedulerJobServiceImpl.jobHelper; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'schedulerHelper': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: private org.quartz.Scheduler com.zhht.job.service.impl.SchedulerHelper.scheduler; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No qualifying bean of type [org.quartz.Scheduler] 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)}
at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessPropertyValues(AutowiredAnnotationBeanPostProcessor.java:334)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1210)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:537)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:476)
at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:303)
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230)
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:299)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:194)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:755)
at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:757)
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:480)
at org.springframework.web.servlet.FrameworkServlet.configureAndRefreshWebApplicationContext(FrameworkServlet.java:664)
at org.springframework.web.servlet.FrameworkServlet.createWebApplicationContext(FrameworkServlet.java:630)
at org.springframework.web.servlet.FrameworkServlet.createWebApplicationContext(FrameworkServlet.java:678)
at org.springframework.web.servlet.FrameworkServlet.initWebApplicationContext(FrameworkServlet.java:549)
at org.springframework.web.servlet.FrameworkServlet.initServletBean(FrameworkServlet.java:490)
at org.springframework.web.servlet.HttpServletBean.init(HttpServletBean.java:136)
at javax.servlet.GenericServlet.init(GenericServlet.java:158)
相关推荐
定时器的使用定时器的使用定时器的使用定时器的使用定时器的使用定时器的使用定时器的使用定时器的使用定时器的使用定时器的使用定时器的使用定时器的使用
MFC定时器的使用MFC定时器的使用MFC定时器的使用MFC定时器的使用MFC定时器的使用MFC定时器的使用MFC定时器的使用
VC++在非窗口类中使用定时器timer
VC++ 定时器使用 定时器使用 VC++ 定时器使用 定时器使用
定时器使用定时器使用定时器使用定时器使用定时器使用定时器使用定时器使用定时器使用定时器使用
TIA博途使用定时器和计数器指令时如何减少背景DB的使用?
基本网上很多定时器都是用MFC写的,而用win32方面比较少,项目用到定时器这块,所以顺便上传一份. 是在VS2010 --> VC++ --> Win32控制台建的工程.里面涉及线程/定时器,简单易用,下载完可直接运行.
VC++中使用定时器的方法,VC++中使用定时器的方法,VC++中使用定时器的方法
22、如何在应用程序中使用定时器?(Visual C++编程 源代码)22、如何在应用程序中使用定时器?(Visual C++编程 源代码)22、如何在应用程序中使用定时器?(Visual C++编程 源代码)22、如何在应用程序中使用...
摘要:VC/C++源码,系统相关,定时器 VC++使用定时器的例子【源码】,只能算是一个小模块的功能,并不是完整的定时器,真正用的话,是需要修改代码的。
TI TMS320F2812 定时器1和定时器2的使用,在不用BIOS的情况下,两个定时器可以和定时器0一样使用。
这是一个很综合的例子,有非窗口怎么使用定时器,静态函数怎么访问非静态函数,很不错的例子!
VC 自定义定时器的使用,VC 自定义定时器的使用
1) 通过实验掌握 CC2530 芯片 GPIO 的配置方法 2) 掌握 Led 驱动电路及开关 Led 的原理 3) 掌握定时器 T1 的配置与使用
如果先初始化从模式定时器3,定时器3工作在触发模式下,TRGI信号来源为定时器2的TRGO,而定时器2还未初始化,故TRGO信号来源默认是UG位,故在定时器2初始化过程中会置位UG位,从而触发定时器3的从模式触发模式,导致...
使用STM32F103的定时器2的第3个输入脚的捕获方式实现了车辆速度的测量。避免了一般的捕获方式慢速不能捕获的缺点。注释、代码齐全直接可以使用。希望对初学者有用。
SPRING定时器使用说明
vc++实现非窗口类中使用定时器的方法 没有用消息处理函数Ontimer
VC++使用定时器
使用 定时器 (MFC) 示例代码 C++ 简单的小程序,功能齐全,开发简单,易于学习