slipset / deps-deploy

deploy your stuff
Eclipse Public License 1.0
149 stars 31 forks source link

Failed to load class "org.slf4j.impl.StaticLoggerBinder" #12

Closed tiye closed 4 years ago

tiye commented 4 years ago

Installed and got the error. Do we need to upgrade? https://stackoverflow.com/questions/7421612/slf4j-failed-to-load-class-org-slf4j-impl-staticloggerbinder

slipset commented 4 years ago

PR welcome

tiye commented 4 years ago

slf4j is not used directly in this package. Only thing I can find is:

https://github.com/clj-commons/pomegranate/blob/a526bc6a3cd113a537725295184af61995941b03/deps.edn#L22

doesn't make sense...

cch1 commented 4 years ago

Easy solution is to add an SLF4J-supported backend. I do this:

{:main-opts ["-m" "deps-deploy.deps-deploy" "deploy" "janus.jar" true]
  :replace-deps {slipset/deps-deploy {:mvn/version "RELEASE"}
                            org.slf4j/slf4j-nop {:mvn/version "RELEASE"}}}