-
Component Upgrade
-
Resolution: Done
-
Major
-
None
-
None
-
None
-
2020 Week 25-27 (from Jun 15)
Hello,
I started kie-sever-showcase in docker and now in my spring-boot application I want to create a kieServicesClient by calling:
KieServicesClient kieServicesClient = KieServicesFactory.newKieServicesClient(configuration);
but I get an exception:
Caused by: java.lang.NoSuchMethodError: org.kie.server.api.marshalling.json.JSONMarshaller$2.idResolver(Lcom/fasterxml/jackson/databind/cfg/MapperConfig;Lcom/fasterxml/jackson/databind/JavaType;Ljava/util/Collection;ZZ)Lcom/fasterxml/jackson/databind/jsontype/TypeIdResolver; at org.kie.server.api.marshalling.json.JSONMarshaller$2.buildTypeDeserializer(JSONMarshaller.java:244) at com.fasterxml.jackson.databind.deser.BasicDeserializerFactory.findTypeDeserializer(BasicDeserializerFactory.java:1599) at com.fasterxml.jackson.databind.deser.BasicDeserializerFactory.findPropertyTypeDeserializer(BasicDeserializerFactory.java:1739) at com.fasterxml.jackson.databind.deser.BasicDeserializerFactory.resolveMemberAndTypeAnnotations(BasicDeserializerFactory.java:2107) at com.fasterxml.jackson.databind.deser.BeanDeserializerFactory.constructSettableProperty(BeanDeserializerFactory.java:799) at com.fasterxml.jackson.databind.deser.BeanDeserializerFactory.addBeanProps(BeanDeserializerFactory.java:522) at com.fasterxml.jackson.databind.deser.BeanDeserializerFactory.buildBeanDeserializer(BeanDeserializerFactory.java:234) at com.fasterxml.jackson.databind.deser.BeanDeserializerFactory.createBeanDeserializer(BeanDeserializerFactory.java:143)
It looks like here:
you are calling the idResolve method from jackson-databine 2.9.9. However spring-boot application is getting the latest version 2.10.0 which changed the signature of the method to accept now subtypeValidator and I get the exception.
- causes
-
RHPAM-2921 Springboot application fails to connect to business-central
- Closed
- relates to
-
RHPAM-2977 JSON marshaller issues in Kie server deployed on EAP 7.3
- Closed
-
JBPM-9044 Upgrade kiegroup repos to Wildfly 18.0.1.Final
- Resolved