会员
周边
众包
新闻
博问
闪存
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
21karat
哪有什么岁月静好,不过是有人替你负重前行
博客园
首页
管理
2020年2月24日
【转】Could not find default TaskScheduler bean org.springframework.beans.factory.NoSuchBeanDefinitionException: No qualifying bean of type [org.springframework.scheduling.TaskScheduler] is defined
摘要: 最近使用Spring + SpringMvc + Quartz搭建的零配置系统中,使用@annotation注解方式, 直接在类的方法上使用@Scheduled(cron=”0 /5 * * ?”)来实现定时任务,在使用debug日志级别时,启动提示Could not find default Ta
阅读全文
posted @ 2020-02-24 18:06 21karat
阅读(551)
评论(0)
推荐(0)
编辑