Are you including the slf4j-ext jar in addition to the slf4j-api jar? Ralph
On Feb 13, 2013, at 2:57 PM, Yogi Nerella wrote: > Hi, > > When I try to use SLF4J bindings with log4j2.0 implementations I run into > the following exception? > > Exception in thread "main" java.lang.NoClassDefFoundError: > org/slf4j/ext/EventData > at > org.slf4j.helpers.Log4JLoggerFactory.getLogger(Log4JLoggerFactory.java:54) > at org.slf4j.LoggerFactory.getLogger(LoggerFactory.java:270) > at org.slf4j.LoggerFactory.getLogger(LoggerFactory.java:281) > at log.SLF4jLogger.<clinit>(SLF4jLogger.java:14) > Caused by: java.lang.ClassNotFoundException: org.slf4j.ext.EventData > at java.net.URLClassLoader$1.run(URLClassLoader.java:366) > at java.net.URLClassLoader$1.run(URLClassLoader.java:355) > at java.security.AccessController.doPrivileged(Native Method) > at java.net.URLClassLoader.findClass(URLClassLoader.java:354) > at java.lang.ClassLoader.loadClass(ClassLoader.java:423) > at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308) > at java.lang.ClassLoader.loadClass(ClassLoader.java:356) > ... 4 more > > Thanks > Yogi --------------------------------------------------------------------- To unsubscribe, e-mail: log4j-user-unsubscr...@logging.apache.org For additional commands, e-mail: log4j-user-h...@logging.apache.org