This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2017-12-13
Channels
- # adventofcode (77)
- # beginners (132)
- # boot (11)
- # cider (40)
- # clara (10)
- # cljsjs (1)
- # cljsrn (4)
- # clojure (148)
- # clojure-android (1)
- # clojure-greece (5)
- # clojure-italy (5)
- # clojure-nl (7)
- # clojure-spec (57)
- # clojure-uk (9)
- # clojurescript (115)
- # core-matrix (1)
- # cursive (3)
- # data-science (1)
- # datomic (1)
- # duct (7)
- # emacs (20)
- # fulcro (29)
- # funcool (4)
- # graphql (31)
- # instaparse (15)
- # java (1)
- # jobs (6)
- # jobs-discuss (95)
- # leiningen (2)
- # off-topic (30)
- # om (4)
- # onyx (7)
- # pedestal (6)
- # quil (4)
- # re-frame (52)
- # reagent (59)
- # rum (1)
- # spacemacs (3)
- # specter (61)
- # test-check (3)
Anyone got an idea? https://github.com/boot-clj/boot/issues/665
@zilti I’d suggest trying to reproduce this issue outside your project,e.g.
boot -d org.controlsfx/controlsfx repl
user=> (import ... )
I'm new and getting several Classpath conflict: org.clojure/clojure version 1.8.0 already loaded, NOT loading version 1.7.0
errors in a tutorial I'm running. Is there a boot command that will tell me where the conflict is coming from? I fixed one of them by blindly upgrading my dependencies, but now I can't figure out where the last one is coming from.
@lee.justin.m boot show --pedantic
should help with that
@lee.justin.m but with Clojure itself my guess is that you don’t specify a clojure version in your dependencies explicitly
and thus one is derived from your set of dependencies
@martinklepsch Thanks for the help. I just tried running boot show --pedantic
by itself and before the build targets on the command line, but it doesn't produce any additional information as far as I can tell. I do have have a boot.properties
file with clojure 1.8.0 specified.
@lee.justin.m and do you have clojure 1.8.0 specified in your :dependencies
vector?
@martinklepsch No I wasn't. By adding it, it not only made the warning go away but also makes the show
command work. (The conflict was caused by boot-http.) I'm not sure why that happened but I'm glad to have fixed that. Thanks!
@lee.justin.m you’re welcome 🙂 For background: When boot starts it loads a version of Clojure that you can specify in boot.properties
. Once that version is loaded loading any other version will cause the warning you’ve seen. Now when you do set-env! :dependencies
and don’t specify a version for Clojure itself any dependency may specify the version of Clojure to use.