Hey all,<br><br>I'm trying to test logback's JDK1.4 support, but am receiving a NoClassDefNotFoundException when running my test class.<br><br>Test Class:<br>import org.slf4j.Logger;<br>import org.slf4j.LoggerFactory
;<br><br>public Test {<br> public static void main(String args[]) {<br> Logger log = LoggerFactory.getLogger(Test.class);<br> System.out.prinln(log.getName());<br> }<br>}<br><br>My classpath includes:<br>logback-classic-0.9.5-jdk14.jar
<br>logback-core-0.9.5-jdk14.jar<br>slf4j-api-1.3.0.jar<br>slf4j-jdk14-1.3.0.jar (just in case, but I receive the same error without it)<br><br>When I try to run the class I receive the following stack trace:<br>java.lang.NoClassDefFoundError
: javax/management/ObjectName<br> at ch.qos.logback.classic.joran.JoranConfigurator.addInstanceRules(JoranConfigurator.java:62)<br> at ch.qos.logback.core.joran.GenericConfigurator.buildInterpreter(GenericConfigurator.java
:83)<br> at ch.qos.logback.core.joran.JoranConfiguratorBase.buildInterpreter(JoranConfiguratorBase.java:82)<br> at ch.qos.logback.core.joran.GenericConfigurator.doConfigure(GenericConfigurator.java:95)<br> at ch.qos.logback.core.joran.GenericConfigurator.doConfigure
(GenericConfigurator.java:74)<br> at ch.qos.logback.core.joran.GenericConfigurator.doConfigure(GenericConfigurator.java:38)<br> at ch.qos.logback.classic.util.ContextInitializer.configureByResource(ContextInitializer.java
:24)<br> at ch.qos.logback.classic.util.ContextInitializer.autoConfig(ContextInitializer.java:35)<br> at ch.qos.logback.classic.util.ContextInitializer.autoConfig(ContextInitializer.java:46)<br> at org.slf4j.impl.StaticLoggerBinder.initialize
(StaticLoggerBinder.java:52)<br> at org.slf4j.impl.StaticLoggerBinder.<init>(StaticLoggerBinder.java:44)<br> at org.slf4j.impl.StaticLoggerBinder.<clinit>(StaticLoggerBinder.java:39)<br> at org.slf4j.LoggerFactory
.<clinit>(LoggerFactory.java:57)<br> at Test.main(Test.java:6)<br>... Removed 21 stack frames<br><br><br>The javax/management package is not in JDK1.4, but is in JDK1.5. I think there is a binding issue happening; please help me solve this issue if possible.
<br><br><br>Thanks!<br><br>-B-<br>