[logback-dev] [Bug 53] New: SMTPAppender fails without janino
bugzilla-daemon at pixie.qos.ch
bugzilla-daemon at pixie.qos.ch
Tue Mar 13 18:50:50 CET 2007
http://bugzilla.qos.ch/show_bug.cgi?id=53
Summary: SMTPAppender fails without janino
Product: logback-classic
Version: unspecified
Platform: Macintosh
OS/Version: Mac OS
Status: NEW
Severity: normal
Priority: P1
Component: Other
AssignedTo: logback-dev at qos.ch
ReportedBy: wilkinspoe at gmail.com
Creating an SMTPAppender fails unless janino.jar is on the classpath, but
janino is not mentioned in the documentation.
Exception in thread "main" java.lang.NoClassDefFoundError:
org/codehaus/janino/ExpressionEvaluator
at
ch.qos.logback.core.boolex.JaninoEventEvaluatorBase.start(JaninoEventEvaluatorBase.java:53)
at ch.qos.logback.classic.net.SMTPAppender.start(SMTPAppender.java:55)
at
ch.qos.logback.core.joran.action.AppenderAction.end(AppenderAction.java:89)
at
ch.qos.logback.core.joran.spi.Interpreter.callEndAction(Interpreter.java:307)
at
ch.qos.logback.core.joran.spi.Interpreter.endElement(Interpreter.java:170)
at
ch.qos.logback.core.joran.spi.Interpreter.endElement(Interpreter.java:151)
at ch.qos.logback.core.joran.spi.EventPlayer.play(EventPlayer.java:43)
at
ch.qos.logback.core.joran.GenericConfigurator.doConfigure(GenericConfigurator.java:98)
at
ch.qos.logback.core.joran.GenericConfigurator.doConfigure(GenericConfigurator.java:74)
at
ch.qos.logback.core.joran.GenericConfigurator.doConfigure(GenericConfigurator.java:38)
at
ch.qos.logback.classic.util.ContextInitializer.configureByResource(ContextInitializer.java:24)
at
ch.qos.logback.classic.util.ContextInitializer.autoConfig(ContextInitializer.java:35)
at
ch.qos.logback.classic.util.ContextInitializer.autoConfig(ContextInitializer.java:46)
at
org.slf4j.impl.StaticLoggerBinder.initialize(StaticLoggerBinder.java:52)
at org.slf4j.impl.StaticLoggerBinder.<init>(StaticLoggerBinder.java:44)
at
org.slf4j.impl.StaticLoggerBinder.<clinit>(StaticLoggerBinder.java:39)
at org.slf4j.LoggerFactory.<clinit>(LoggerFactory.java:57)
at logbacktest.Main.main(Main.java:37)
Java Result: 1
--
Configure bugmail: http://bugzilla.qos.ch/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
More information about the logback-dev
mailing list