|
View:
New views
5 Messages
—
Rating Filter:
Alert me
|
|
|
Missing classfile with Filter EvaluatorI 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@... http://mailman.qos.ch/mailman/listinfo/logback-user |
|
|
Re: Missing classfile with Filter EvaluatorHello 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@...> wrote:
_______________________________________________ Logback-user mailing list Logback-user@... http://mailman.qos.ch/mailman/listinfo/logback-user |
|
|
Re: Missing classfile with Filter EvaluatorRegards, Glyn On 6 Feb 2012, at 16:51, George, Kenneth V [NTK] wrote:
_______________________________________________ Logback-user mailing list Logback-user@... http://mailman.qos.ch/mailman/listinfo/logback-user |
|
|
Re: Missing classfile with Filter EvaluatorI have the same problem. You can see it with the title "JoranConfigurator + LoggerContext dont find classes".
|
|
|
Re: Missing classfile with Filter EvaluatorYup, that was it!
Thanks everyone!
From: logback-user-bounces@... [mailto:logback-user-bounces@...]
On Behalf Of Stevo Slavic
Hello George, On Mon, Feb 6, 2012 at 5:51 PM, George, Kenneth V [NTK] <Kenneth.V.George@...> 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@... http://mailman.qos.ch/mailman/listinfo/logback-user |
| Free embeddable forum powered by Nabble | Forum Help |