[logback-user] Missing classfile with Filter Evaluator

George, Kenneth V [NTK] Kenneth.V.George at sprint.com
Mon Feb 6 17:59:31 CET 2012


Yup, that was it!

Thanks everyone!

From: logback-user-bounces at qos.ch [mailto:logback-user-bounces at qos.ch] On Behalf Of Stevo Slavic
Sent: Monday, February 06, 2012 10:56 AM
To: logback users list
Subject: Re: [logback-user] Missing classfile with Filter Evaluator

Hello George,

Scripting support is optional, so is logback dependency that enable scripting - you need to add that dependency/library yourself if using scripting. Just add janino jar to your classpath: http://repo1.maven.org/maven2/janino/janino/2.5.10/

Kind regards,
Stevo.
On Mon, Feb 6, 2012 at 5:51 PM, George, Kenneth V [NTK] <Kenneth.V.George at sprint.com<mailto:Kenneth.V.George at sprint.com>> wrote:
I am creating a filter for one of the appenders and I am getting this error:

Exception in thread "main" java.lang.NoClassDefFoundError: org/codehaus/janino/ScriptEvaluator
        at ch.qos.logback.core.boolex.JaninoEventEvaluatorBase.start(JaninoEventEvaluatorBase.java:57)
        at ch.qos.logback.core.joran.action.NestedComplexPropertyIA.end(NestedComplexPropertyIA.java:167)
        at ch.qos.logback.core.joran.spi.Interpreter.callEndAction(Interpreter.java:318)
        at ch.qos.logback.core.joran.spi.Interpreter.endElement(Interpreter.java:197)
        at ch.qos.logback.core.joran.spi.Interpreter.endElement(Interpreter.java:183)
        at ch.qos.logback.core.joran.spi.EventPlayer.play(EventPlayer.java:62)
        at ch.qos.logback.core.joran.GenericConfigurator.doConfigure(GenericConfigurator.java:147)
        at ch.qos.logback.core.joran.GenericConfigurator.doConfigure(GenericConfigurator.java:133)
        at ch.qos.logback.core.joran.GenericConfigurator.doConfigure(GenericConfigurator.java:96)
        at ch.qos.logback.core.joran.GenericConfigurator.doConfigure(GenericConfigurator.java:73)
        at ch.qos.logback.core.joran.GenericConfigurator.doConfigure(GenericConfigurator.java:65)
        at ch.qos.logback.classic.net.SimpleSocketServer.configureLC(SimpleSocketServer.java:169)
        at ch.qos.logback.classic.net.SimpleSocketServer.main(SimpleSocketServer.java:67)
Caused by: java.lang.ClassNotFoundException: org.codehaus.janino.ScriptEvaluator
        at java.net.URLClassLoader$1.run(Unknown Source)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.net.URLClassLoader.findClass(Unknown Source)
        at java.lang.ClassLoader.loadClass(Unknown Source)
        at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
        at java.lang.ClassLoader.loadClass(Unknown Source)
        ... 13 more

I have attempted to look around and cannot find the class anywhere in the .jar files shipped with the product.

Anyone know where it is?

________________________________

This e-mail may contain Sprint Nextel proprietary information intended for the sole use of the recipient(s). Any use by others is prohibited. If you are not the intended recipient, please contact the sender and delete all copies of the message.

_______________________________________________
Logback-user mailing list
Logback-user at qos.ch<mailto:Logback-user at qos.ch>
http://mailman.qos.ch/mailman/listinfo/logback-user


________________________________

This e-mail may contain Sprint Nextel proprietary information intended for the sole use of the recipient(s). Any use by others is prohibited. If you are not the intended recipient, please contact the sender and delete all copies of the message.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.qos.ch/pipermail/logback-user/attachments/20120206/518f3185/attachment.html>


More information about the Logback-user mailing list