[logback-user] Logback + Janino issue : NoSuchMethodError
ceki
ceki at qos.ch
Tue Mar 26 12:36:59 CET 2013
Hello Ramesh,
The setImplementedInterfaces(Class[]) method is part of
ClassBodyEvaluator class in janino 2.6.1. Please check your class path
to see whether a different version of Janino is lurking somewhere.
HTH,
On 26.03.2013 12:25, sss rrr wrote:
> HI I see this error in my eclipse , could any one let me know what I am
> missing ? I am using mac and my ivy.xml has these dependencies:
>
> <dependency org="ch.qos.logback" name="logback-core" rev="1.0.11"
> conf="runtime,test">
> <exclude org="org.codehaus.janino" module="janino"/>
> </dependency>
> <dependency org="ch.qos.logback" name="logback-classic"
> rev="1.0.11" conf="runtime,test"/>
> <!-- Conditional processing in logback configuration files requires
> the Janino library. -->
> <dependency org="org.codehaus.janino" name="janino" rev="2.6.1"
> conf="runtime,test"/>
> <dependency org="org.codehaus.janino" name="janino" rev="2.6.1"
> conf="source->source"/>
> <!-- Having jcl-over-slf4j means we CANNOT have commons-logging in
> the classpath -->
> <dependency org="org.slf4j" name="jcl-over-slf4j" rev="1.7.2"
> conf="runtime,test"/>
> <!-- Having log4j-over-slf4j bridge means migrating to slf4j
> without making changes to projects like omapi -->
> <dependency org="org.slf4j" name="log4j-over-slf4j" rev="1.7.2"
> conf="runtime,test"/>
>
> Thanks
> Ramesh
>
>
>
> 11:16:21,797 |-INFO in ch.qos.logback.classic.joran.action.LoggerAction
> - Setting level of logger [com.homeaway] to INFO
> 11:16:21,797 |-INFO in
> ch.qos.logback.classic.joran.action.RootLoggerAction - Setting level of
> ROOT logger to INFO
> Failed to instantiate [ch.qos.logback.classic.LoggerContext]
> Reported exception:
> java.lang.NoSuchMethodError:
> org.codehaus.janino.ClassBodyEvaluator.setImplementedInterfaces([Ljava/lang/Class;)V
> at
> ch.qos.logback.core.joran.conditional.PropertyEvalScriptBuilder.build(PropertyEvalScriptBuilder.java:48)
> at
> ch.qos.logback.core.joran.conditional.IfAction.begin(IfAction.java:67)
> at
> ch.qos.logback.core.joran.spi.Interpreter.callBeginAction(Interpreter.java:276)
> at
> ch.qos.logback.core.joran.spi.Interpreter.startElement(Interpreter.java:148)
> at
> ch.qos.logback.core.joran.spi.Interpreter.startElement(Interpreter.java:130)
> at ch.qos.logback.core.joran.spi.EventPlayer.play(EventPlayer.java:50)
> at
> ch.qos.logback.core.joran.GenericConfigurator.doConfigure(GenericConfigurator.java:157)
> at
> ch.qos.logback.core.joran.GenericConfigurator.doConfigure(GenericConfigurator.java:143)
> at
> ch.qos.logback.core.joran.GenericConfigurator.doConfigure(GenericConfigurator.java:106)
> at
> ch.qos.logback.core.joran.GenericConfigurator.doConfigure(GenericConfigurator.java:56)
> at
> ch.qos.logback.classic.util.ContextInitializer.configureByResource(ContextInitializer.java:75)
> at
> ch.qos.logback.classic.util.ContextInitializer.autoConfig(ContextInitializer.java:148)
> at org.slf4j.impl.StaticLoggerBinder.init(StaticLoggerBinder.java:85)
> at
> org.slf4j.impl.StaticLoggerBinder.<clinit>(StaticLoggerBinder.java:55)
> at org.slf4j.LoggerFactory.bind(LoggerFactory.java:128)
> at
> org.slf4j.LoggerFactory.performInitialization(LoggerFactory.java:107)
> at org.slf4j.LoggerFactory.getILoggerFactory(LoggerFactory.java:295)
> at org.slf4j.LoggerFactory.getLogger(LoggerFactory.java:269)
>
>
>
--
Ceki
http://twitter.com/#!/ceki
More information about the Logback-user
mailing list