This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2023-09-19
Channels
- # announcements (1)
- # babashka (40)
- # beginners (84)
- # biff (46)
- # calva (37)
- # cherry (2)
- # cider (18)
- # clj-otel (5)
- # clojure (53)
- # clojure-europe (39)
- # clojure-hungary (12)
- # clojure-norway (40)
- # clojure-sweden (2)
- # clojure-uk (2)
- # clojurescript (6)
- # community-development (21)
- # cursive (28)
- # data-science (12)
- # datomic (3)
- # figwheel-main (2)
- # fulcro (12)
- # graalvm (7)
- # gratitude (1)
- # hyperfiddle (23)
- # integrant (9)
- # jobs (2)
- # leiningen (4)
- # lsp (8)
- # malli (3)
- # missionary (1)
- # off-topic (39)
- # polylith (3)
- # portal (33)
- # practicalli (4)
- # re-frame (3)
- # releases (1)
- # sci (53)
- # solo-full-stack (8)
- # sql (5)
- # timbre (9)
I have a problem refactoring lein project.clj. I use 10-15 profiles, for building uberjar I combine some profiles and try to build it. It fails with:
Error: Could not find or load main class clojure.main
Caused by: java.lang.ClassNotFoundException: clojure.main
Compilation failed: Subprocess failed (exit code: 1)
Error encountered performing task 'jar' with profile(s): 'clj-build,clj-uberjar-main,cljc-common,clj-common,cljc-main,clj-main'
Compilation failed: Subprocess failed (exit code: 1)
• it fails on building jar step
• it looks like it cant find clojure (which is there, in deps)
• when i pprint profile with lein-pprint, and try to run that project.clj it works (I add defproject..)
lein 2.10do you have a minimally reproducible example? do any of the active profiles declare a clojure dependency, or only the default profile?