clara-storm icon indicating copy to clipboard operation
clara-storm copied to clipboard

Could not locate clara/examples/storm__init.class or clara/examples/storm.clj on classpath:

Open CodeHub2 opened this issue 10 years ago • 2 comments

Hi Ryan,

I ran Clara on storm and following your instructions, "lein run -m clara.examples.storm" but the error messages are: codehub2@ubuntu:~/workspace/projs/clara-storm/clara-storm$ lein run -m clara.examples.storm Can't find 'clara.examples.storm' as .class or .clj for lein run: please check the spelling. Exception in thread "main" java.io.FileNotFoundException: Could not locate clara/examples/storm__init.class or clara/examples/storm.clj on classpath: at clojure.lang.RT.load(RT.java:443) at clojure.lang.RT.load(RT.java:411) at clojure.core$load$fn__5018.invoke(core.clj:5530) at clojure.core$load.doInvoke(core.clj:5529) at clojure.lang.RestFn.invoke(RestFn.java:408) at clojure.core$load_one.invoke(core.clj:5336) at clojure.core$load_lib$fn__4967.invoke(core.clj:5375) at clojure.core$load_lib.doInvoke(core.clj:5374) at clojure.lang.RestFn.applyTo(RestFn.java:142) at clojure.core$apply.invoke(core.clj:619) at clojure.core$load_libs.doInvoke(core.clj:5413) at clojure.lang.RestFn.applyTo(RestFn.java:137) at clojure.core$apply.invoke(core.clj:619) at clojure.core$require.doInvoke(core.clj:5496) at clojure.lang.RestFn.invoke(RestFn.java:408) at user$eval5$fn__7.invoke(form-init753248912363231670.clj:1) at user$eval5.invoke(form-init753248912363231670.clj:1) at clojure.lang.Compiler.eval(Compiler.java:6619) at clojure.lang.Compiler.eval(Compiler.java:6609) at clojure.lang.Compiler.load(Compiler.java:7064) at clojure.lang.Compiler.loadFile(Compiler.java:7020) at clojure.main$load_script.invoke(main.clj:294) at clojure.main$init_opt.invoke(main.clj:299) at clojure.main$initialize.invoke(main.clj:327) at clojure.main$null_opt.invoke(main.clj:362) at clojure.main$main.doInvoke(main.clj:440) at clojure.lang.RestFn.invoke(RestFn.java:421) at clojure.lang.Var.invoke(Var.java:419) at clojure.lang.AFn.applyToHelper(AFn.java:163) at clojure.lang.Var.applyTo(Var.java:532) at clojure.main.main(main.java:37)

I also tried to change to clara.rules.storm but the same things happened. Hopefully you can read this message and give me an idea about this.

Thanks! Wong

CodeHub2 avatar Nov 24 '14 22:11 CodeHub2

Hi Wong,

I dropped Storm support from the examples partially because of issue #1 (Storm didn't work with a newer version of Clojure I wanted to use) and because clara-storm isn't being actively maintained or developed, so keeping the examples going over time was an effort that didn't have any advantages.

I can imagine this changing at some point, reviving clara-storm in this form or some newer one, but for now this project is effectively shelved. (However, the core clara-rules project is alive and well.)

I went ahead and updated the main page of clara-storm to reflect this. If there was strong interest from someone that wanted to work on this I'd be happy to help get them started, but I don't think this is something I'm going to be building in the near future.

-Ryan

rbrush avatar Nov 26 '14 03:11 rbrush

Hi Ryan,

Thank you for your response. Clara-storm, making rule engines work on the distributed memory is a really good idea. Storm is a good candidate. I would like to revisit it at some points when there are right versions matching in the future. One more question, do you have any information about the current version matching table between Clara-rules, Clojure and Storm?

Thanks! Wong

CodeHub2 avatar Nov 27 '14 06:11 CodeHub2