Error creating bean with name 'quartzInit' defined in file [/xxx/xxx/context-timertask-service.xml]: Invocation of init method failed; nested exception is org.quartz.SchedulerException: Based on configured schedule, the given trigger will never fire.
错误的原因是定时时间设置有问题,0 0 * * * ? 2012 这个设置限制了定时任务只能在2012年执行,如果超过了这个年份,这个任务就无法执行,spring启动时就会报错。
转载于:https://my.oschina.net/u/148367/blog/174168
最后
以上就是简单服饰最近收集整理的关于Invocation of init method failed; nested except...的全部内容,更多相关Invocation内容请搜索靠谱客的其他文章。
本图文内容来源于网友提供,作为学习参考使用,或来自网络收集整理,版权属于原作者所有。
发表评论 取消回复