]
Edson Tirelli reassigned DROOLS-2475:
-------------------------------------
Assignee: Maciej Swiderski (was: Edson Tirelli)
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}