diff --git a/dataformat-xml/src/main/java/org/eclipse/digitaltwin/aas4j/v3/dataformat/xml/XmlDataformatAnnotationIntrospector.java b/dataformat-xml/src/main/java/org/eclipse/digitaltwin/aas4j/v3/dataformat/xml/XmlDataformatAnnotationIntrospector.java index 96315ca43..08bd8683a 100644 --- a/dataformat-xml/src/main/java/org/eclipse/digitaltwin/aas4j/v3/dataformat/xml/XmlDataformatAnnotationIntrospector.java +++ b/dataformat-xml/src/main/java/org/eclipse/digitaltwin/aas4j/v3/dataformat/xml/XmlDataformatAnnotationIntrospector.java @@ -18,6 +18,7 @@ import java.util.Collection; import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.databind.cfg.MapperConfig; import com.fasterxml.jackson.databind.introspect.Annotated; import com.fasterxml.jackson.databind.introspect.AnnotatedClass; import com.fasterxml.jackson.databind.introspect.AnnotatedMethod; @@ -45,8 +46,8 @@ public XmlDataformatAnnotationIntrospector() { } @Override - public String findNamespace(Annotated ann) { - String ns = super.findNamespace(ann); + public String findNamespace(MapperConfig config, Annotated ann) { + String ns = super.findNamespace(null, ann); if (ns == null) { return myDefaultNamespace; } else { diff --git a/pom.xml b/pom.xml index b910262e2..4b2ec782c 100644 --- a/pom.xml +++ b/pom.xml @@ -63,7 +63,7 @@ 3.12.0 30.1.1-jre 5.0.1 - 2.12.3 + 2.14.2 2.0.1.Final 2.3.1 2.1.0