如何切换Oracle数据源,只需要改dev.yml吗

提问 未结 2 35
岳.getName()
岳.getName() 2019-07-09
悬赏:20积分
版本:renren-security 浏览器:
直接修改dev.yml启动之后报错ScheduleUtils createScheduleJob方法报错: [pre] Caused by: org.quartz.ObjectAlreadyExistsException: Unable to store Job : 'DEFAULT.TASK_1', because one already exists with this identification. [/pre][pre] 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: 创建定时任务失败 [/pre] 屏蔽定时任务后可以正常执行,求帮助
回帖