This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2024-03-02
Channels
- # ai (5)
- # announcements (1)
- # babashka (8)
- # beginners (16)
- # clojure (21)
- # clojure-europe (3)
- # clojure-norway (6)
- # clojure-uk (1)
- # datomic (3)
- # events (4)
- # figwheel-main (5)
- # fulcro (10)
- # jobs (1)
- # lsp (26)
- # missionary (5)
- # pedestal (1)
- # polylith (3)
- # portal (28)
- # practicalli (1)
- # reagent (37)
- # reitit (1)
- # scittle (24)
- # tools-deps (7)
Hi everyone. I'm hitting a dependency conflict issue with ions. Using a recent version of Reitit with Jsonista, which requires Jackson version greater than 2.13 at least it seems. Datomic Cloud seems to be using Jackson 2.12.3. Any advice on how to resolve these types of conflicts?
From cloudwatch
{
"Msg": "LoadIonsFailed",
"Ex": {
"Via": [
{
"Type": "clojure.lang.Compiler$CompilerException",
"Message": "Syntax error compiling . at (jsonista/core.clj:149:19).",
"Data": {
"ClojureErrorPhase": "CompileSyntaxCheck",
"ClojureErrorLine": 149,
"ClojureErrorColumn": 19,
"ClojureErrorSource": "jsonista/core.clj",
"ClojureErrorSymbol": "."
},
"At": [
"clojure.lang.Compiler",
"analyzeSeq",
"Compiler.java",
7132
]
},
{
"Type": "java.lang.NoClassDefFoundError",
"Message": "com/fasterxml/jackson/core/exc/StreamWriteException",
"At": [
"java.lang.Class",
"getDeclaredMethods0",
"Class.java",
-2
]
},
{
"Type": "java.lang.ClassNotFoundException",
"Message": "com.fasterxml.jackson.core.exc.StreamWriteException",
"At": [
"jdk.internal.loader.BuiltinClassLoader",
"loadClass",
"BuiltinClassLoader.java",
641
]
}
],
A similar issue on that missing class
https://github.com/FasterXML/jackson-core/issues/797 for this. we’re getting the same Syntax error compiling . at (jsonista/core.clj:149:19).
error when deploying our app using metosin/reitit {:mvn/version "0.7.0-alpha7"}
. we’ve tried bumping jsonista down to 0.3.3 which depends on jackson 2.12.3 (https://github.com/metosin/jsonista/blob/master/CHANGELOG.md#033-2021-05-02), the same as the Ions override, without any luck and we haven’t yet found the magic recipe of dependency exclusions to reproduce the problem locally. any help getting the latest reitit / malli deployed to Ions would be much appreciated.
for this. we’re getting the same Syntax error compiling . at (jsonista/core.clj:149:19).
error when deploying our app using metosin/reitit {:mvn/version "0.7.0-alpha7"}
. we’ve tried bumping jsonista down to 0.3.3 which depends on jackson 2.12.3 (https://github.com/metosin/jsonista/blob/master/CHANGELOG.md#033-2021-05-02), the same as the Ions override, without any luck and we haven’t yet found the magic recipe of dependency exclusions to reproduce the problem locally. any help getting the latest reitit / malli deployed to Ions would be much appreciated.