0
votes

Getting following error while running CronJobSchedulingExample example from github https://github.com/apache/ignite/blob/master/examples/src/main/java-lgpl/org/apache/ignite/examples/misc/schedule/ComputeScheduleExample.java

  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)
1

1 Answers

1
votes

You need to have ignite-schedule module in project classpath. Check if it's added in your pom.xml or, if you're running it using ignite.sh, - copy ignite-schedule directory from libs/optional to libs.