[jboss-jira] [JBoss JIRA] (DROOLS-2475) Upgrade Jackson dependencies.
Petar Tahchiev (JIRA)
issues at jboss.org
Sun Apr 15 03:21:00 EDT 2018
Petar Tahchiev created DROOLS-2475:
--------------------------------------
Summary: Upgrade Jackson dependencies.
Key: DROOLS-2475
URL: https://issues.jboss.org/browse/DROOLS-2475
Project: Drools
Issue Type: Bug
Reporter: Petar Tahchiev
Assignee: Edson Tirelli
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}
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
More information about the jboss-jira
mailing list