Log4j 2
  1. Log4j 2
  2. LOG4J2-760

XMLLayout's dependence on jackson-annotations should be documented

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 2.0-rc2, 2.0
    • Fix Version/s: 2.0.2
    • Component/s: Layouts
    • Labels:
      None
    • Environment:

      Windows JDK 1.7.0_65

      Description

      Hello--first time report please bear with me.
      Upgrading project from 2.0-rc1 to 2.0, ran into the following issue:
      Layout<? extends Serializable> xmlLayout = xmlLayout.createDefaultLayout();

      produces the following error:
      Exception in thread "main" java.lang.NoClassDefFoundError: com/fasterxml/jackson/core/JsonProcessingException

      I've included the API and Core JAR's to the project path, as previously. For reference, I'm comparing this line with the following line that runs correctly in rc1:
      Layout<? extends Serializable> fileXMLLayout = XMLLayout.createLayout("true", "true", null, null, null, null);

      1. BasicScreenshot.jpg
        159 kB
        Dale Furrow
      2. screenshot - with Jacson 2.4.1.jpg
        214 kB
        Dale Furrow
      3. screenshot-success.jpg
        109 kB
        Dale Furrow

        Activity

        No work has yet been logged on this issue.

          People

          • Assignee:
            Remko Popma
            Reporter:
            Dale Furrow
          • Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development