Caused by: java.io.FileNotFoundException: Could not locate clojure_cukes/core__init.class or clojure_cukes/core.clj on classpath. Please check that namespaces with dashes use underscores in the Clojure file name.
at clojure.lang.RT.load(RT.java:449)
at clojure.lang.RT.load(RT.java:412)
at clojure.core$load$fn__5448.invoke(core.clj:5866)
at clojure.core$load.doInvoke(core.clj:5865)
at clojure.lang.RestFn.invoke(RestFn.java:408)
at clojure.core$load_one.invoke(core.clj:5671)
at clojure.core$load_lib$fn__5397.invoke(core.clj:5711)
at clojure.core$load_lib.doInvoke(core.clj:5710)
at clojure.lang.RestFn.applyTo(RestFn.java:142)
at clojure.core$apply.invoke(core.clj:632)
at clojure.core$load_libs.doInvoke(core.clj:5749)
at clojure.lang.RestFn.applyTo(RestFn.java:137)
at clojure.core$apply.invoke(core.clj:634)
at clojure.core$use.doInvoke(core.clj:5843)
at clojure.lang.RestFn.invoke(RestFn.java:408)
at cucumber.runtime.clj$eval2057.invoke(buffer_calculation_steps.clj:1)
at clojure.lang.Compiler.eval(Compiler.java:6782)
at clojure.lang.Compiler.load(Compiler.java:7227)
... 27 more
Subprocess failed
If I remove the reference to clojure-cukes.core then it seems to work.
Looking at the linked example (https://github.com/nilswloka/cucumber-jvm/blob/new-clojure-example/examples/clojure_cukes/test/features/step_definitions/cuke_steps.clj) I added
(use 'clojure-cukes.core)
to mysteps.clj
file butlein cucumber
throws:If I remove the reference to
clojure-cukes.core
then it seems to work.