繁体   English   中英

执行CronJobSchedulingExample时出现以下错误

[英]Getting following error while executing CronJobSchedulingExample

从github https://github.com/apache/ignite/blob/master/examples/src/main/java-lgpl/org/apache/ignite/examples/misc/schedule/ComputeScheduleExample.java运行CronJobSchedulingExample示例时遇到以下错误

  Exception in thread "main" class org.apache.ignite.IgniteException: Current Ignite configuration does not support schedule functionality (consider adding ignite-schedule module to classpath).
        at org.apache.ignite.internal.processors.schedule.IgniteNoopScheduleProcessor.processorException(IgniteNoopScheduleProcessor.java:50)
        at org.apache.ignite.internal.processors.schedule.IgniteNoopScheduleProcessor.schedule(IgniteNoopScheduleProcessor.java:43)
        at org.apache.ignite.internal.IgniteSchedulerImpl.scheduleLocal(IgniteSchedulerImpl.java:123)
        at com.mstorm.ignition.CronJobSchedulingExample.main(CronJobSchedulingExample.java:38)

您需要在项目类路径中具有ignite-schedule模块。 检查是否已将其添加到pom.xml中,或者是否正在使用ignite.sh运行它, ignite.sh ignite-schedule目录从libs/optional复制到libs

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM