Missing classfile with Filter Evaluator

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.

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@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@qos.ch http://mailman.qos.ch/mailman/listinfo/logback-user

Yup, that was it! Thanks everyone! From: logback-user-bounces@qos.ch [mailto:logback-user-bounces@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@sprint.com<mailto:Kenneth.V.George@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@qos.ch<mailto:Logback-user@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.

It's part of Janino and, before you ask, http://docs.codehaus.org/display/JANINO/Home ;-) Regards, Glyn On 6 Feb 2012, at 16:51, George, Kenneth V [NTK] 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@qos.ch http://mailman.qos.ch/mailman/listinfo/logback-user

I have the same problem. You can see it with the title "JoranConfigurator + LoggerContext dont find classes". George, Kenneth V [NTK] 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@qos.ch http://mailman.qos.ch/mailman/listinfo/logback-user
-- View this message in context: http://old.nabble.com/Missing-classfile-with-Filter-Evaluator-tp33272792p332... Sent from the Logback User mailing list archive at Nabble.com.
participants (4)
-
George, Kenneth V [NTK]
-
Glyn Normington
-
Pepe Caballero
-
Stevo Slavić