This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2016-12-27
Channels
- # ai (4)
- # beginners (102)
- # boot (216)
- # cider (20)
- # cljs-dev (9)
- # clojure (130)
- # clojure-russia (4)
- # clojure-spec (9)
- # clojure-uk (11)
- # clojurescript (59)
- # core-async (2)
- # cursive (10)
- # datomic (51)
- # figwheel (1)
- # flambo (3)
- # hoplon (2)
- # luminus (1)
- # om (17)
- # om-next (4)
- # onyx (2)
- # perun (2)
- # re-frame (79)
- # ring (5)
- # ring-swagger (9)
- # rum (3)
- # schema (3)
- # specter (9)
- # untangled (3)
- # vim (1)
Hey guys, I've got a problem with packaging ring application, everything works fine when I run it with lein ring server
however it fails to compile with message port ring.util.response/find-header, try updating to Ring 1.5.0+
when I run lein ring uberwar
. Relevant deps are [ring 1.5.0.]
and [metosin/compojure-api "1.2.0-alpha1"]
. Any idea what could be wrong (tried to dig into it for some time but I don't really know since the dependency is there)? Thanks a lot
Does lein deps :tree
show multiple versions of ring-core
being pulled in, perhaps?
The error is from compojure-api and seems to date back to 0.7.0 https://github.com/metosin/ring-http-response/commit/43673745a71e0608bc5696318e9d00acfdba0f5c — so it thinks you have an older version of Ring being pulled into your dependencies (or perhaps the dependency is missing altogether in that profile?).
I am doing everything under dev
so this should be fine. Seems like there is an older version on the classpath but I am importing the ring in dependencies section and lein deps :tree | grep ring
doesn't show anything suspicious
maybe just that compojure api has [metosin/ring-http-response "0.8.0"]
but that is a correct version with aforementioned function I suppose