Unable to Compile Maven Project with Guava and Gson using j2cl-maven-plugin #206
-
I am currently working on a project where I'm attempting to use the Could you please provide guidance on how to successfully use libraries like Gson and Guava with j2cl-maven-plugin in a Maven project? Is there a special configuration or additional steps that I need to follow? Thank you for your assistance! |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 6 replies
-
@loveslikey May I ask you to provide us with a build log? |
Beta Was this translation helpful? Give feedback.
for (T val : value) {
BaseCollectionJsonDeserializer.this.deserializer.setBackReference(referenceName,reference,val,ctx);
}
Hmm, it was a j2cl bug, that has been fix long ago, as far as I remember, the workaround is to cast the value to an array of T.
looks like it's outdated version of domino-jackson
try this one https://mvnrepository.com/artifact/org.dominokit/domino-jackson/1.0.0