Spring Task Scheduler - No qualifying bean of type [org.springframework.scheduling.TaskScheduler] is defined
我的配置: tomcat 7 , JDK 8 , Spring 4.2.6
异常信息来自:
org.springframework.scheduling.annotation.ScheduledAnnotationBeanPostProcessor.inishRegistration():
这个异常日志级别是 DEBUG ,想解决DEBUG时出现此问题的话:
在log4j 下的配置添加这行即可:
log4j.logger.org.springframework.scheduling = INFO