[logback-user] Missing classfile with Filter Evaluator

Stevo Slavić sslavic at gmail.com
Mon Feb 6 17:55:57 CET 2012


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> 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
> http://mailman.qos.ch/mailman/listinfo/logback-user
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.qos.ch/pipermail/logback-user/attachments/20120206/1d6cdf35/attachment.html>


More information about the Logback-user mailing list