[slf4j-user] ClassNotFoundException: org.apache.log4j.spi.RootCategory

Ceki Gulcu ceki at qos.ch
Wed Dec 2 17:00:14 CET 2009


Hello,

Contrary to jcl-over-slf4j which is a full replacement for 
commong-logging.jar, lof4j-over-slf4j is not a perfect replacement for 
log4j.jar. The org.apache.log4j.spi.RootCategory is indeed missing from
log4j-over-slf4j.

Please enter a bug report so that this issue can be fixed for the next 
slf4j release.

BR

Boris Granveaud wrote:
> Hi,
> 
> I'm using jcl-over-slf4j, log4j-over-slf4j and jul-to-slf4j to redirect 
> all the logs of the libraries of my project. It works fine except for 
> this library: SmartGWT EE.
> 
> It seems that it uses a class that is not implemented in 
> log4j-over-slf4j because I get this error:
> 
> java.lang.ClassNotFoundException: org.apache.log4j.spi.RootCategory
> at 
> org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1386) 
> [catalina.jar:na]
> at 
> org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1232) 
> [catalina.jar:na]
> at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320) 
> [na:1.6.0_16]
> at com.isomorphic.base.Config.<clinit>(Config.java:68) 
> [isomorphic_core_rpc-1.2.1.jar:na]
> at com.isomorphic.rpc.RPCManager.<clinit>(RPCManager.java:91) 
> [isomorphic_core_rpc-1.2.1.jar:na]
> 
> Any idea to get it work?
> 
> Thank,
> Boris.
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> slf4j-user mailing list
> slf4j-user at qos.ch
> http://qos.ch/mailman/listinfo/slf4j-user


More information about the slf4j-user mailing list