Missing classfile with Filter Evaluator

View: New views
5 Messages — Rating Filter:   Alert me  

Missing classfile with Filter Evaluator

by George, Kenneth V [NTK] :: Rate this Message:

| View Threaded | Show Only this Message

Some parts of this message have been removed. Learn more about Nabble's security policy.

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

Re: Missing classfile with Filter Evaluator

by Stevo Slavic :: Rate this Message:

| View Threaded | Show Only this 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@...> 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


_______________________________________________
Logback-user mailing list
Logback-user@...
http://mailman.qos.ch/mailman/listinfo/logback-user

Re: Missing classfile with Filter Evaluator

by Glyn Normington-4 :: Rate this Message:

| View Threaded | Show Only this 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@...
http://mailman.qos.ch/mailman/listinfo/logback-user


_______________________________________________
Logback-user mailing list
Logback-user@...
http://mailman.qos.ch/mailman/listinfo/logback-user

Re: Missing classfile with Filter Evaluator

by Pepe Caballero :: Rate this Message:

| View Threaded | Show Only this Message

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

Re: Missing classfile with Filter Evaluator

by George, Kenneth V [NTK] :: Rate this Message:

| View Threaded | Show Only this Message

Some parts of this message have been removed. Learn more about Nabble's security policy.

Yup, that was it!

 

Thanks everyone!

 

From: logback-user-bounces@... [mailto:logback-user-bounces@...] 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@...> 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

 




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