Community
Participate
Working Groups
Hi there, when using slf4j and logback-0.9.19 with jetty the stack trace is thrown: java.lang.NoClassDefFoundError: ch/qos/logback/core/encoder/Encoder at ch.qos.logback.classic.util.ContextInitializer.autoConfig(ContextInitializer.java:123) at org.slf4j.impl.StaticLoggerBinder.init(StaticLoggerBinder.java:83) at org.slf4j.impl.StaticLoggerBinder.<clinit>(StaticLoggerBinder.java:54) To resolve this issue I added an import to ch.qos.logback.classic: ch.qos.logback.classic.encoder;version="0.9.19" Gunnar is the maintainer of the slf4j and logback bundles but if that helps I don't mind looking after this fix. Let me know.
As discussed on the mailing list. The fix is trivial. Please attach a patch. Thanks!
Created attachment 167354 [details] patch for logback-classic's manifest The missing import is in fact: ch.qos.logback.core.encoder;version="0.9.19"
Thanks Hugues. Patch looks good. Please go ahead and commit!
OK patch committed. The new tag is v20100506-1420 And I have updated the bundles.map file with it for logback-classic Thanks for your attention!
OK fixed starting with this build http://download.eclipse.org/tools/orbit/committers/drops/I20100506221749/ I verified that the new import is in.