我正在尝试设置 Misfire 指令以忽略错过的触发器
<object id="RunSchedulerJobTrigger" type="Spring.Scheduling.Quartz.CronTriggerObject, Spring.Scheduling.Quartz, Version=1.2.0.23130, Culture=neutral, PublicKeyToken=65e474d141e25e07">
<property name="jobDetail" ref="RunSchedulerJob" />
<property name="cronExpressionString" value="0 30 0 * * ?"/>
<!-- Value is a Cron String (0-Seconds[0-59] 30-Minutes[0-59] 0-hours[0-23] * * ?) means, Fire everyday at 12:30AM -->
**<property name="misfireInstructionName" value="IgnoreMisfirePolicy"/>**
</object>
但得到一个错误,上面写着
在“文件 [D:\Configuration\AppContext.xml] 第 17 行”中创建名称为“RunSchedulerJobTrigger”的对象时出错:对象初始化失败:未知字段“IgnoreMisfirePolicy”---> System.Exception:未知字段“IgnoreMisfirePolicy”位于Spring.Scheduling.Quartz.Constants.AsNumber(String field) at Spring.Scheduling.Quartz.CronTriggerObject.set_MisfireInstructionName(String value) at Spring.Expressions.PropertyOrFieldNode.SetPropertyOrFieldValue(Object context, EvaluationContext evalContext, Object newValue) 在 Spring.Expressions。在 Spring.Objects.ObjectWrapper.SetPropertyValues(IPropertyValues propertyValues, Boolean ignoreUnknown) 在 Spring.Objects.Factory.Support 的 PropertyOrFieldNode.Set(Object context, EvaluationContext evalContext, Object newValue)。AbstractAutowireCapableObjectFactory.ApplyPropertyValues(字符串名称,RootObjectDefinition 定义,IObjectWrapper 包装器,IPropertyValues 属性...