Uploaded image for project: 'Drools'
  1. Drools
  2. DROOLS-2475

Upgrade Jackson dependencies.

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Critical Critical
    • None
    • None
    • None
    • None
    • NEW
    • NEW

      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:

              <dependency>
                  <groupId>org.kie.server</groupId>
                  <artifactId>kie-server-jms</artifactId>
                  <version>7.7.0.Final</version>
              </dependency>
      

      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:

      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)
      

            swiderski.maciej Maciej Swiderski (Inactive)
            paranoiabla@gmail.com Petar Tahchiev (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated: