juxt / yada

A powerful Clojure web library, full HTTP, full async - see https://juxt.pro/yada/index.html
MIT License
735 stars 97 forks source link

Assumes clj-time will come in through ring-core (aka incompatible with ring-core 1.8.1) #317

Open SevereOverfl0w opened 4 years ago

SevereOverfl0w commented 4 years ago

clj-time is excluded from ring-swagger, and ring-core no longer depends on clj-time, so you don't get clj-time on the classpath at all, resulting in an exception. Repro:

❯ clojure -Sdeps '{:deps {yada {:mvn/version "1.4.0-alpha1"} ring/ring-core {:mvn/version "1.8.1"}}}' -e "(require 'yada.yada)"
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.
Syntax error (FileNotFoundException) compiling at (yada/cookies.clj:1:1).
Could not locate clj_time/coerce__init.class, clj_time/coerce.clj or clj_time/coerce.cljc on classpath. Please check that namespaces with dashes use underscores in the Clojure file name.

Full report at:
/tmp/clojure-2935424831110528782.edn