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

提问 2 691
版本: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] 屏蔽定时任务后可以正常执行,求帮助
回帖