[ 
https://issues.apache.org/jira/browse/LOG4J2-760?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14088040#comment-14088040
 ] 

Dale Furrow commented on LOG4J2-760:
------------------------------------

If I can chime in here-I'd be fine if this section 
[http://logging.apache.org/log4j/2.x/faq.html#which_jars] were amended to make 
it clear that particular functions of core require jars from POM. The project 
where I used rc-1 was working with the api and core jars only, as that 
documentation indicated. Now, that's no longer the case. If you just noted that 
the full functionality of the core jar requires all the dependent jars from the 
POM (including transitives), and then maybe a link-that would have been good 
enough for me.  Right now, at least to me, the documentation implies those jars 
are stand-alone.

> XMLLayout's dependence on jackson-annotations should be documented
> ------------------------------------------------------------------
>
>                 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
>             Fix For: 2.0.2
>
>         Attachments: BasicScreenshot.jpg, screenshot - with Jacson 2.4.1.jpg, 
> screenshot-success.jpg
>
>
> 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
(v6.2#6252)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to