clojure - ClassNotFoundException trying to run "lein run server-headless" for any project -
i'm in process of trying learn clojure, of tutorials , sample code @ fails run me.
whenever try start ring app "lein ring server-headless", downloads dependencies, dies big stacktrace, can't find leiningen.core.project$reduce_repo_step:
exception in thread "main" java.lang.classnotfoundexception: leiningen.core.project$reduce_repo_step, compiling:(/tmp/form-init4519196078572752752.clj:1) @ clojure.lang.compiler.load(compiler.java:6958) @ clojure.lang.compiler.loadfile(compiler.java:6912) @ clojure.main$load_script.invoke(main.clj:283) @ clojure.main$init_opt.invoke(main.clj:288) @ clojure.main$initialize.invoke(main.clj:316) @ clojure.main$null_opt.invoke(main.clj:349)
examples of code happens samples/tutorials @ https://github.com/kendru/restful-clojure , https://github.com/diamondap/ring-sample
is wrong leiningen/clojure local setup? i'm using leiningen 2.6.0 on linux mint.
the tutorials linked seem using old versions of ring
—1.2.1 , 1.1.0. noticed if make new luminus project:
lein new luminus guestbook +h2
you end ring
version 1.4.0. might consider using more up-to-date tutorial. i've been using the official luminus tutorial.
Comments
Post a Comment