This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2024-03-08
Channels
- # announcements (11)
- # babashka (13)
- # beginners (11)
- # biff (2)
- # calva (17)
- # cider (19)
- # clojure (60)
- # clojure-berlin (1)
- # clojure-dev (20)
- # clojure-europe (48)
- # clojure-nl (1)
- # clojure-norway (98)
- # clojure-spec (7)
- # clojure-uk (5)
- # core-typed (32)
- # cursive (13)
- # datomic (12)
- # dev-tooling (5)
- # emacs (7)
- # figwheel-main (2)
- # graalvm (4)
- # hyperfiddle (4)
- # introduce-yourself (1)
- # malli (14)
- # missionary (32)
- # off-topic (7)
- # overtone (4)
- # pedestal (10)
- # proletarian (4)
- # re-frame (8)
- # releases (11)
- # tools-build (1)
- # tools-deps (4)
- # xtdb (38)
Hello! Is latest pedestal snapshot version in clojars broken? I get this:
Caused by: java.io.FileNotFoundException: Could not locate io/pedestal/tracing__init.class, io/pedestal/tracing.clj or io/pedestal/tracing.cljc on classpath.
Hmm I just looked at the latest embedded template and I suppose that just
io.pedestal/pedestal.jetty {:mvn/version "0.7.0-SNAPSHOT"}
in deps is not enough, we need
io.pedestal/pedestal.service {:mvn/version "0.7.0-SNAPSHOT"}
in additionRunning everything locally and for tests I tend to have the entire classpath rolled together. It looks like there a missing dependency in pedestal.service; could you share your entire project.clj or deps.edn? It’s possible you are mixing and matching versions (intentionally or not).
I'm pretty sure this is something in your build, some mix-and-match of dependencies. I've checked that pedestal.jetty has a dependency on pedestal.service, and it has a dependency on pedestal.telemetry.
My repo is based on the deps-new template in this commit exactly https://github.com/pedestal/pedestal/tree/39abf2f4d3edc29aef889e91f2800b5703012909/embedded The funny thing is that it worked without problems the past few weeks and yesterday I launched my repl and stumbled upon the above problem
Funny thing, I added io.pedestal/pedestal.service {:mvn/version "0.7.0-SNAPSHOT"}
to my deps, build worked (after the above error) and after I removed it again (`io.pedestal/pedestal.service {:mvn/version "0.7.0-SNAPSHOT"}`) the build still seems to work