logging-log4j-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Remko Popma (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (LOG4J2-760) XMLLayout's dependence on jackson-annotations should be documented
Date Thu, 07 Aug 2014 09:48:12 GMT

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

Remko Popma commented on LOG4J2-760:
------------------------------------

mvn dependency:tree gives:
{code}
--- maven-dependency-plugin:2.1:tree (default-cli) @ log4j-core ---
org.apache.logging.log4j:log4j-core:jar:2.0.2-SNAPSHOT
+- org.apache.logging.log4j:log4j-api:jar:2.0.2-SNAPSHOT:compile
+- org.osgi:org.osgi.core:jar:4.3.1:provided
+- com.lmax:disruptor:jar:3.3.0:compile
+- com.fasterxml.jackson.core:jackson-core:jar:2.4.1.1:compile
+- com.fasterxml.jackson.core:jackson-databind:jar:2.4.1.3:compile
|  \- com.fasterxml.jackson.core:jackson-annotations:jar:2.4.0:compile
+- com.fasterxml.jackson.dataformat:jackson-dataformat-yaml:jar:2.4.1:compile
+- com.fasterxml.jackson.dataformat:jackson-dataformat-xml:jar:2.4.1:compile
|  +- com.fasterxml.jackson.module:jackson-module-jaxb-annotations:jar:2.4.1:compile
|  \- org.codehaus.woodstox:stax2-api:jar:3.1.4:compile
+- org.codehaus.woodstox:woodstox-core-asl:jar:4.3.0:compile
|  \- javax.xml.stream:stax-api:jar:1.0-2:compile
+- org.fusesource.jansi:jansi:jar:1.11:compile
+- org.jboss.spec.javax.jms:jboss-jms-api_1.1_spec:jar:1.0.1.Final:provided
+- com.sun.mail:javax.mail:jar:1.5.0:compile
|  \- javax.activation:activation:jar:1.1:compile
+- org.eclipse.persistence:javax.persistence:jar:2.1.0:compile

+- org.apache.logging.log4j:log4j-api:test-jar:tests:2.0.2-SNAPSHOT:test
+- javax.jmdns:jmdns:jar:3.4.1:test
+- log4j:log4j:jar:1.2.17:test
+- org.slf4j:slf4j-api:jar:1.7.7:test
+- org.slf4j:slf4j-ext:jar:1.7.7:test
|  \- ch.qos.cal10n:cal10n-api:jar:0.8.1:test
+- junit:junit:jar:4.11:test
|  \- org.hamcrest:hamcrest-core:jar:1.3:test
+- org.hamcrest:hamcrest-all:jar:1.3:test
+- org.easymock:easymock:jar:3.2:test
|  +- cglib:cglib-nodep:jar:2.2.2:test
|  \- org.objenesis:objenesis:jar:1.3:test
+- org.hsqldb:hsqldb:jar:2.3.2:test
+- com.h2database:h2:jar:1.3.175:test
+- org.eclipse.persistence:org.eclipse.persistence.jpa:jar:2.5.1:test
|  +- org.eclipse.persistence:org.eclipse.persistence.asm:jar:2.5.1:test
|  +- org.eclipse.persistence:org.eclipse.persistence.antlr:jar:2.5.1:test
|  +- org.eclipse.persistence:org.eclipse.persistence.jpa.jpql:jar:2.5.1:test
|  \- org.eclipse.persistence:org.eclipse.persistence.core:jar:2.5.1:test
+- org.mockejb:mockejb:jar:0.6-beta2:test
|  +- oro:oro:jar:2.0.8:test
|  \- cglib:cglib-full:jar:2.0.2:test
+- commons-logging:commons-logging:jar:1.2:test
+- ch.qos.logback:logback-core:jar:1.0.13:test
+- ch.qos.logback:logback-classic:jar:1.0.13:test
+- org.eclipse.osgi:org.eclipse.osgi:jar:3.6.0.v20100517:test
+- org.apache.felix:org.apache.felix.framework:jar:4.2.1:test
{code}

That may be the extend of what can be done automatically with Maven. It does not tell us what
feature these dependencies are used for. That may take some manual work.

> 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: log4j-dev-unsubscribe@logging.apache.org
For additional commands, e-mail: log4j-dev-help@logging.apache.org


Mime
View raw message