Hi,
I'm getting to know Stateful Functions and was trying to run the Harness
RunnerTest example. If I clone the  repository and open and execute the
project from there it works fine, but when I copy the code into my own
project, it keeps giving a "java.lang.IllegalStateException: There are no
routers defined. " I changed nothing about the code, so the Module and the
Router are both defined, and the dependencies are the same. Am I overlooking
something?
This is the full error:

Exception in thread "main" java.lang.IllegalStateException: There are no
routers defined.
        at
org.apache.flink.statefun.flink.core.StatefulFunctionsUniverseValidator.validate(StatefulFunctionsUniverseValidator.java:31)
        at
org.apache.flink.statefun.flink.core.StatefulFunctionsJob.main(StatefulFunctionsJob.java:66)
        at 
org.apache.flink.statefun.flink.harness.Harness.start(Harness.java:128)
        at gellyStreaming.gradoop.StatefulFunctions.Test.main(Test.java:17)

Process finished with exit code 1





--
Sent from: http://apache-flink-user-mailing-list-archive.2336050.n4.nabble.com/

Reply via email to