Uploaded image for project: 'Log4j 2'
  1. Log4j 2
  2. LOG4J2-760

XMLLayout's dependence on jackson-annotations should be documented

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.0-rc2, 2.0
    • 2.0.2
    • Layouts
    • None
    • 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);

      Attachments

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

        Activity

          People

            rpopma Remko Popma
            dalefurrow Dale Furrow
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: