更换Oracle数据源报错

提问 未结 3 56
岳.getName()
岳.getName() 2019-07-08
悬赏:20积分
版本:renren-security 浏览器:
img[//cdn.renren.io/ac10a201907082022387604.png] 我直接改的这个地方,控制台报错 img[//cdn.renren.io/7621b201907082008547884.png] 想问一下是怎么回事?还是不光改这一个地方
回帖
  • 报错信息不全,无法定位问题,可以尝试把数据库删了,重新建
    0 回复
  • 岳.getName()
    2019-07-08
    你好,我直接换Oracle数据库就那一个地方,没其他的地方需要改了对吗? 下面是我报的错 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: 创建定时任务失败 Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'scheduleJobService': Invocation of init method failed; nested exception is io.renren.common.exception.RRException: 创建定时任务失败 Caused by: org.quartz.ObjectAlreadyExistsException: Unable to store Job : 'DEFAULT.TASK_1', because one already exists with this identification.
    0 回复
  • @岳.getName() 把quartz相关的表删了,重新建,就可以了
    0 回复