]
Maciej Swiderski commented on DROOLS-2475:
------------------------------------------
we are aligned with jackson that is bundled with WildFly/EAP and currently we are at
version 11 which is 2.8.9. As soon as new version of WildFly will be used then jackson
will be upgraded as well.
Upgrade Jackson dependencies.
-----------------------------
Key: DROOLS-2475
URL:
https://issues.jboss.org/browse/DROOLS-2475
Project: Drools
Issue Type: Bug
Reporter: Petar Tahchiev
Assignee: Maciej Swiderski
Priority: Critical
Hello,
I'm not sure this is the right place to report this, but I couldn't find a better
one. In my project I'm using:
{code}
<dependency>
<groupId>org.kie.server</groupId>
<artifactId>kie-server-jms</artifactId>
<version>7.7.0.Final</version>
</dependency>
{code}
and I believe you guys are using jackson version 2.8.9:
https://github.com/kiegroup/kie-soup/blob/master/pom.xml#L56
which is already 1 year old. In my app some third-party dependencies are bringing jackson
2.9.5 and because of this mismatch I get the following exception when I run my app:
{code}
Caused by: java.lang.NoSuchMethodError:
com.fasterxml.jackson.databind.SerializationConfig.with(Lcom/fasterxml/jackson/databind/AnnotationIntrospector;)Lcom/fasterxml/jackson/databind/SerializationConfig;
at
org.kie.server.api.marshalling.json.JSONMarshaller.configureMarshaller(JSONMarshaller.java:153)
at
org.kie.server.api.marshalling.json.JSONMarshaller.<init>(JSONMarshaller.java:128)
at
org.kie.server.api.marshalling.BaseMarshallerBuilder.build(BaseMarshallerBuilder.java:43)
at
org.kie.server.api.marshalling.MarshallerFactory.getMarshaller(MarshallerFactory.java:52)
at
org.kie.server.client.impl.AbstractKieServicesClientImpl.<init>(AbstractKieServicesClientImpl.java:83)
at
org.kie.server.client.impl.KieServicesClientImpl.<init>(KieServicesClientImpl.java:71)
at
org.kie.server.client.KieServicesFactory.newKieServicesClient(KieServicesFactory.java:101)
at
com.nemesis.platform.module.ruleservices.config.RuleServicesModuleAutoConfiguration.defaultKieServicesClient(RuleServicesModuleAutoConfiguration.java:160)
{code}