This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2022-12-26
Channels
- # asami (2)
- # babashka (1)
- # beginners (31)
- # calva (11)
- # clj-together (3)
- # clojure (43)
- # clojure-europe (6)
- # clojure-norway (1)
- # clojurescript (14)
- # core-async (3)
- # core-logic (24)
- # cryogen (6)
- # datascript (2)
- # datomic (3)
- # fulcro (35)
- # honeysql (2)
- # hyperfiddle (12)
- # kaocha (3)
- # lsp (11)
- # off-topic (10)
- # pathom (2)
- # reagent (14)
- # releases (1)
- # sci (11)
- # shadow-cljs (27)
- # tools-deps (7)
I’m trying depend on a jar I’ve built in deps.edn
. But I’m getting Error building classpath. Manifest type not detected when finding deps for * in coordinate ...
can someone point me to where this error message comes from so I can better debug? Thank you
How are you specifying the dependency on the JAR, and did you check that the JAR contains a pom.xml
file?
I’ve since found out that the directory structure inside my jar is not as intended… so sorry to bother you. Also no, I don’t have a pom.xml
. I have this in my deps.edn
dk.zoren/jar {:local/root "libs/BTree.jar"}
I get Unsupported class file major version 61
after fixing the directory layout inside the jar. Thank you, and again sorry to bother.
The latter says you have some code compiled on a more recent JDK than the one you're trying to run it on. 61 is JDK 17, so you'll need at least JDK 17 to run this.
Yes I found out. But I actually don’t really understand how it happend. I did compile the jar with java 17 and inside the vscode REPL the system property said "java.runtime.version" "17.0.5+8"
Now I’ve use asdf to install java and restarted VSCode, that fixed it for me.