I'm trying to subclass JacksonJsonProvider, but I'm getting "The hierarchy
of the type MyJacksonJsonProvider is inconsistent" out of eclipse. This
normally means (I think) that something is missing from my classpath, but I
can't figure out what.
I have a simple maven eclipse project. I have added a dependency on
jackson-jaxrs-json-provider, 2.8.1. I have a simple class:
import com.fasterxml.jackson.jaxrs.json.JacksonJsonProvider;
public class MyJacksonJsonProvider extends JacksonJsonProvider {
}
However, I get this error.
Naively, I assumed that maven would ensure that all the required
dependencies were in place in my classpath?
It has added:
jaxrs-json-provider
jaxrs-base
core
databind
annotations
module-jaxb-annotations
all at version 2.8.1
Any suggestions on what extra I might need in my classpath, or indeed what
else the issue is?
Thanks.
--
You received this message because you are subscribed to the Google Groups
"jackson-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
For more options, visit https://groups.google.com/d/optout.