The SLF4J binding also supports the SLF4J extensions and so requires slf4j-ext-1.7.2.jar. Please create a Jira issue to have that library be made optional.
Ralph On Feb 13, 2013, at 4:13 PM, Yogi Nerella wrote: > Ralph, > > I am including only the following files. > slf4j-api-1.7.2.jar, log4j-core-2.0-beta4.jar, > log4j-slf4j-impl-2.0-beta4.jar, log4j-api-2.0-beta4.jar > > Yogi > > > > On Wed, Feb 13, 2013 at 3:33 PM, Ralph Goers > <[email protected]>wrote: > >> 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: [email protected] >> For additional commands, e-mail: [email protected] >> >> --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
