funcool / funcool/catacumba

Broken dependency?

Open
#66 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Clojure
Stars
190
Forks
24
PR merge metrics
No merged PRs in 30d

Description

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.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reproducing the quick-start failure with `lein run`, then inspect `catacumba.impl.server/run_server` at `server.clj:145` and `cata_web.core/-main` at `core.clj:15`. Determine whether the reported Ratpack method mismatch is caused by dependency versions or whether the SLF4J warning is unrelated; done means the quick-start command runs successfully.

Written by the indexing model from the issue text.

Assessment

Tech stack
clojure
Domain
backend
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.