[logback-dev] [JIRA] Created: (LBCLASSIC-181) java.lang.NoClassDefFoundError: org/codehaus/janino/ExpressionEvaluator if use ch.qos.logback.core.filter.EvaluatorFilter

Dmitry Smirnov (JIRA) noreply-jira at qos.ch
Tue Jan 26 14:40:33 CET 2010


java.lang.NoClassDefFoundError: org/codehaus/janino/ExpressionEvaluator if use ch.qos.logback.core.filter.EvaluatorFilter
-------------------------------------------------------------------------------------------------------------------------

                 Key: LBCLASSIC-181
                 URL: http://jira.qos.ch/browse/LBCLASSIC-181
             Project: logback-classic
          Issue Type: Bug
          Components: Other
    Affects Versions: 0.9.18
         Environment: windows7 enterprise
            Reporter: Dmitry Smirnov
            Assignee: Logback dev list


After using filter with class ch.qos.logback.core.filter.EvaluatorFilter rised an exception without janino.jar is on the classpath, but janino is not mentioned in the documentation and examples.
Failed to instantiate [ch.qos.logback.classic.LoggerContext]
Reported exception:
java.lang.NoClassDefFoundError: org/codehaus/janino/ExpressionEvaluator
	at ch.qos.logback.core.boolex.JaninoEventEvaluatorBase.start(JaninoEventEvaluatorBase.java:58)
	at ch.qos.logback.core.joran.action.NestedComplexPropertyIA.end(NestedComplexPropertyIA.java:168)
	at ch.qos.logback.core.joran.spi.Interpreter.callEndAction(Interpreter.java:311)
	at ch.qos.logback.core.joran.spi.Interpreter.endElement(Interpreter.java:191)
	at ch.qos.logback.core.joran.spi.Interpreter.endElement(Interpreter.java:178)
	at ch.qos.logback.core.joran.spi.EventPlayer.play(EventPlayer.java:52)
	at ch.qos.logback.core.joran.spi.Interpreter.play(Interpreter.java:328)
	at ch.qos.logback.core.joran.GenericConfigurator.doConfigure(GenericConfigurator.java:126)
	at ch.qos.logback.core.joran.GenericConfigurator.doConfigure(GenericConfigurator.java:93)
	at ch.qos.logback.core.joran.GenericConfigurator.doConfigure(GenericConfigurator.java:52)
	at ch.qos.logback.classic.util.ContextInitializer.configureByResource(ContextInitializer.java:60)
	at ch.qos.logback.classic.util.ContextInitializer.autoConfig(ContextInitializer.java:121)
	at org.slf4j.impl.StaticLoggerBinder.init(StaticLoggerBinder.java:89)
	at org.slf4j.impl.StaticLoggerBinder.<clinit>(StaticLoggerBinder.java:60)
	at org.slf4j.LoggerFactory.getSingleton(LoggerFactory.java:230)
	at org.slf4j.LoggerFactory.bind(LoggerFactory.java:121)
	at org.slf4j.LoggerFactory.performInitialization(LoggerFactory.java:112)
	at org.slf4j.LoggerFactory.getILoggerFactory(LoggerFactory.java:275)
	at org.slf4j.LoggerFactory.getLogger(LoggerFactory.java:248)
	at test.Ex1.<clinit>(Ex1.java:16)
	at java.lang.Class.forName0(Native Method)
	at java.lang.Class.forName(Class.java:169)
	at com.intellij.rt.execution.application.AppMain.main(AppMain.java:107)
Caused by: java.lang.ClassNotFoundException: org.codehaus.janino.ExpressionEvaluator
	at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:303)
	at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
	at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:316)
	... 23 more

ch.qos.logback.core.boolex.JaninoEventEvaluatorBase has link on org.codehaus.janino.ExpressionEvaluator


-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.qos.ch/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the logback-dev mailing list