Uploaded image for project: 'ServiceMix'
  1. ServiceMix
  2. SM-2978

Jackson 2.7.0 in ServiceMix 7.0.0.M1 throws java.lang.NoSuchMethodError

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Cannot Reproduce
    • 7.0.0.M1
    • 7.0.0.M2, 7.0.0
    • features
    • None
    • Regression

    Description

      Jackson 2.7.0 in ServiceMix 7.0.0.M1 (feature camel-jackson/camel-jacksonxml) throws java.lang.NoSuchMethodError. Same marshal/unmarshal with JAXB-annotated classes works fine in ServiceMix 6.1.1 and Jackson 2.6.3.

      According to online sources a rewrite introduced several issues in Jackson 2.7.0 (used in SMX 7.0.0.M1) which are supposedly fixed in Jackson 2.7.3. My marshal/unmarshal works at least in unit-tests with Jackson 2.7.3.

      I've since downgraded the system to 6.1.1. Unfortunately I didn't think of keeping the logs at the moment. I believe it was the same exception mentioned here:
      http://stackoverflow.com/questions/34721851/spring-4-2-3-and-fasterxml-jackson-2-7-0-are-incompatible

      Attachments

        Activity

          People

            sobkowiak Krzysztof Sobkowiak
            fjo@kth.se Fredrik Jönsson
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: