启动 定时任务 报错

提问 2 2256
taox
taox VIP1 2018-11-26
版本:renren-security 开发环境:
ConfigServletWebServerApplicationContext : Exception encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'scheduleJobController': Unsatisfied dependency expressed through field 'scheduleJobService'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'scheduleJobService': Invocation of init method failed; nested exception is io.renren.common.exception.RRException: 获取定时任务CronTrigger出现异常 定时任务的代码没有修改过,启动时报 上面错误 ,类上面的 注解 也没改过,数据库的表也没改过
回帖
  • taox
    taox VIP1 (楼主)
    2018-11-26
    自己解决啦 ,不知道为什么 定时任务的表 corn表 少了一条 对应 自己添加的定时任务的 记录
    0 回复
  • taox
    taox VIP1 (楼主)
    2018-11-26
    错误已经解决
    0 回复