commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ceki Gülcü <c...@qos.ch>
Subject Re: [GUMP@brutus]: jakarta-commons/commons-logging failed
Date Mon, 17 May 2004 20:49:49 GMT
At 10:33 PM 5/17/2004, Mario Ivankovits wrote:

>The change was in the Category class, formerly the log methods accepted a 
>priority but this has change to a level now.
>
>But it looks like the change isnt really backward compatible, i have tried 
>this now and got the following exception (patched commons-logging and 
>log4j-1.2.8):
>
>java.lang.NoSuchMethodError: 
>org.apache.log4j.Logger.log(Ljava/lang/String;Lorg/apache/log4j/Level;Ljava/lang/Object;Ljava/lang/Throwable;)V
>    at org.apache.commons.logging.impl.Log4JLogger.fatal(Log4JLogger.java:161)
>    at org.apache.commons.vfs.test.RunTest.main(RunTest.java:31)
>    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>    at 
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>    at 
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>    at java.lang.reflect.Method.invoke(Method.java:324)
>    at com.intellij.rt.execution.application.AppMain.main(Unknown Source)

The above looks wrong to me. Are you sure you don't have stale classes 
around during compilation?

>Maybe we relly need a new Log4J implementation depending on its version 
>.... this is bad, isnt it?

Don't gump the gun yet.


-- 
Ceki Gülcü

      For log4j documentation consider "The complete log4j manual"
      ISBN: 2970036908 http://www.qos.ch/shop/products/clm_t.jsp  



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


Mime
View raw message