logging-log4j-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dale Furrow (JIRA)" <j...@apache.org>
Subject [jira] [Created] (LOG4J2-760) XMLLayout NoClassDefFoundError
Date Sun, 03 Aug 2014 18:30:12 GMT
Dale Furrow created LOG4J2-760:

             Summary: XMLLayout NoClassDefFoundError
                 Key: LOG4J2-760
                 URL: https://issues.apache.org/jira/browse/LOG4J2-760
             Project: Log4j 2
          Issue Type: Bug
          Components: Layouts
    Affects Versions: 2.0-rc2, 2.0
         Environment: Windows JDK 1.7.0_65
            Reporter: Dale Furrow

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);

This message was sent by Atlassian JIRA

To unsubscribe, e-mail: log4j-dev-unsubscribe@logging.apache.org
For additional commands, e-mail: log4j-dev-help@logging.apache.org

View raw message