You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The Java module com.fasterxml.jackson.jakarta.rs.json explicitly requires com.fasterxml.jackson.module.jakarta.xmlbind without real need (AFAIK). It makes it impossible to use the JSON provider module without JAXB annotations when running with Java Modules
The text was updated successfully, but these errors were encountered:
This is true, but unfortunately not something that can be changed in Jackson 2.x. The issue is that due to some users' use of JAXB annotations for JSON, there is configurability in provider class that allows simple registration of one or both of:
Default JacksonAnnotationIntrospector
JAXB-annotation based introspector
and thus there is a hard dependency, even if you do not use JAXB-backed introspector.
This will be removed from Jackson 3.0 but unfortunately it has to stay in 2.x.
The Java module
com.fasterxml.jackson.jakarta.rs.json
explicitly requirescom.fasterxml.jackson.module.jakarta.xmlbind
without real need (AFAIK). It makes it impossible to use the JSON provider module without JAXB annotations when running with Java ModulesThe text was updated successfully, but these errors were encountered: