You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by kranga <kr...@k2d2.org> on 2004/06/29 03:18:58 UTC

Conflict between log4j and jakarta-commons-logging

cocoon version 2.1
jakarta-commons-HttpClient 2.0

I need to use jakarta-commons HttpClient in my cocoon installation. When the
code attempts to create a new HttpClient instance, I get the following
exception:

Caused by: org.apache.commons.logging.LogConfigurationException:
org.apache.commons.logging.LogConfigurationException:
org.apache.commons.logging.LogConfigurationException: Class
org.apache.commons.logging.impl.Log4JLogger does not implement Log
 at
org.apache.commons.logging.impl.LogFactoryImpl.newInstance(LogFactoryImpl.ja
va:532)
 at
org.apache.commons.logging.impl.LogFactoryImpl.getInstance(LogFactoryImpl.ja
va:272)
 at
org.apache.commons.logging.impl.LogFactoryImpl.getInstance(LogFactoryImpl.ja
va:246)
 at org.apache.commons.logging.LogFactory.getLog(LogFactory.java:395)
 at org.apache.commons.httpclient.HttpClient.<clinit>(HttpClient.java:101)

What do I need to do to resolve this?

Thanks
K


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org