You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am very new to clojure and now was giving catacumba a try (with leiningen).
Following the instructions in the quick start area, there is an error by retrieving the dependencies after lein run:
SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder". SLF4J: Defaulting to no-operation (NOP) logger implementation SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details. Exception in thread "main" java.lang.IncompatibleClassChangeError: Method ratpack.server.RatpackServer.of(Lratpack/func/Action;)Lratpack/server/RatpackServer; must be InterfaceMethodref constant, compiling:(/tmp/form-init11947645225559549126.clj:1:74) at clojure.lang.Compiler.load(Compiler.java:7391) at clojure.lang.Compiler.loadFile(Compiler.java:7317) at clojure.main$load_script.invokeStatic(main.clj:275) at clojure.main$init_opt.invokeStatic(main.clj:277) at clojure.main$init_opt.invoke(main.clj:277) at clojure.main$initialize.invokeStatic(main.clj:308) at clojure.main$null_opt.invokeStatic(main.clj:342) at clojure.main$null_opt.invoke(main.clj:339) at clojure.main$main.invokeStatic(main.clj:421) at clojure.main$main.doInvoke(main.clj:384) at clojure.lang.RestFn.invoke(RestFn.java:421) at clojure.lang.Var.invoke(Var.java:383) at clojure.lang.AFn.applyToHelper(AFn.java:156) at clojure.lang.Var.applyTo(Var.java:700) at clojure.main.main(main.java:37) Caused by: java.lang.IncompatibleClassChangeError: Method ratpack.server.RatpackServer.of(Lratpack/func/Action;)Lratpack/server/RatpackServer; must be InterfaceMethodref constant at catacumba.impl.server$run_server.invokeStatic(server.clj:145) at catacumba.impl.server$run_server.invoke(server.clj:109) at cata_web.core$_main.invokeStatic(core.clj:15) at cata_web.core$_main.doInvoke(core.clj:13) at clojure.lang.RestFn.invoke(RestFn.java:397) at clojure.lang.Var.invoke(Var.java:375) at user$eval5.invokeStatic(form-init11947645225559549126.clj:1) at user$eval5.invoke(form-init11947645225559549126.clj:1) at clojure.lang.Compiler.eval(Compiler.java:6927) at clojure.lang.Compiler.eval(Compiler.java:6917) at clojure.lang.Compiler.load(Compiler.java:7379) ... 14 more
As I unterstand, it is a problem with the SLF4J-dependency?
Thankfull for every help.
The text was updated successfully, but these errors were encountered:
I am very new to clojure and now was giving catacumba a try (with leiningen).
Following the instructions in the quick start area, there is an error by retrieving the dependencies after lein run:
SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder". SLF4J: Defaulting to no-operation (NOP) logger implementation SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details. Exception in thread "main" java.lang.IncompatibleClassChangeError: Method ratpack.server.RatpackServer.of(Lratpack/func/Action;)Lratpack/server/RatpackServer; must be InterfaceMethodref constant, compiling:(/tmp/form-init11947645225559549126.clj:1:74) at clojure.lang.Compiler.load(Compiler.java:7391) at clojure.lang.Compiler.loadFile(Compiler.java:7317) at clojure.main$load_script.invokeStatic(main.clj:275) at clojure.main$init_opt.invokeStatic(main.clj:277) at clojure.main$init_opt.invoke(main.clj:277) at clojure.main$initialize.invokeStatic(main.clj:308) at clojure.main$null_opt.invokeStatic(main.clj:342) at clojure.main$null_opt.invoke(main.clj:339) at clojure.main$main.invokeStatic(main.clj:421) at clojure.main$main.doInvoke(main.clj:384) at clojure.lang.RestFn.invoke(RestFn.java:421) at clojure.lang.Var.invoke(Var.java:383) at clojure.lang.AFn.applyToHelper(AFn.java:156) at clojure.lang.Var.applyTo(Var.java:700) at clojure.main.main(main.java:37) Caused by: java.lang.IncompatibleClassChangeError: Method ratpack.server.RatpackServer.of(Lratpack/func/Action;)Lratpack/server/RatpackServer; must be InterfaceMethodref constant at catacumba.impl.server$run_server.invokeStatic(server.clj:145) at catacumba.impl.server$run_server.invoke(server.clj:109) at cata_web.core$_main.invokeStatic(core.clj:15) at cata_web.core$_main.doInvoke(core.clj:13) at clojure.lang.RestFn.invoke(RestFn.java:397) at clojure.lang.Var.invoke(Var.java:375) at user$eval5.invokeStatic(form-init11947645225559549126.clj:1) at user$eval5.invoke(form-init11947645225559549126.clj:1) at clojure.lang.Compiler.eval(Compiler.java:6927) at clojure.lang.Compiler.eval(Compiler.java:6917) at clojure.lang.Compiler.load(Compiler.java:7379) ... 14 more
As I unterstand, it is a problem with the SLF4J-dependency?
Thankfull for every help.
The text was updated successfully, but these errors were encountered: