commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jen <xwhu_1...@yahoo.com>
Subject [HTTPCLIENT]which version of log4j should i use
Date Thu, 01 May 2003 18:07:05 GMT
Hi,
I just downloaded the commons-httpclient-2.0-alpha3,
and put both commons-httpclient.jar and
commons-logging.jar in lib directory in my classpath,
and added the log4j-1.2.1.jar in classpath too, but I
got the exception:

Exception in thread "main" java.lang.NoSuchMethodError
        at
org.apache.log4j.WriterAppender.subAppend(WriterAppender.java:300)
        at
org.apache.log4j.WriterAppender.append(WriterAppender.java:150)
        at
org.apache.log4j.AppenderSkeleton.doAppend(AppenderSkeleton.java:221)

        at
org.apache.log4j.helpers.AppenderAttachableImpl.appendLoopOnAppenders
(AppenderAttachableImpl.java:56)
        at
org.apache.log4j.Category.callAppenders(Category.java:258)
        at
org.apache.log4j.Category.forcedLog(Category.java:454)
        at
org.apache.log4j.Category.log(Category.java:885)
        at
org.apache.commons.logging.impl.Log4JCategoryLog.warn(Log4JCategoryLo
g.java:196)
        at
org.apache.commons.httpclient.HttpMethodBase.processRequest(HttpMetho
dBase.java:2328)
        at
org.apache.commons.httpclient.HttpMethodBase.execute(HttpMethodBase.j
ava:960)
        at
org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.jav
a:578)
        at
org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.jav
a:477)

Do get the wrong version of log4j?

Thanks

__________________________________
Do you Yahoo!?
The New Yahoo! Search - Faster. Easier. Bingo.
http://search.yahoo.com

Mime
View raw message