[logback-user] Logback + Janino issue : NoSuchMethodError
sss rrr
rupeesdollers at gmail.com
Tue Mar 26 12:25:02 CET 2013
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)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.qos.ch/pipermail/logback-user/attachments/20130326/84e2bfa5/attachment.html>
More information about the Logback-user
mailing list