[slf4j-user] Spring -> SLF4J -> Logback

Eric Chatellier chatellier at codelutin.com
Tue Mar 22 14:02:40 CET 2011


Le 22/03/2011 13:54, Luciano Santos a écrit :
> Looks strange, because i was exactly trying to avoid Commons-logging
> usage, and sounds like it's not the solution as well. I added commons
> logging back to the project and the problem persists:
>
> SEVERE: RAR6035 : Resource adapter start failed : {0}
> java.lang.NoSuchMethodError:
> org.slf4j.spi.LocationAwareLogger.log(Lorg/slf4j/Marker;Ljava/lang/String;ILjava/lang/String;[Ljava/lang/Object;Ljava/lang/Throwable;)V
> 	at org.apache.commons.logging.impl.SLF4JLocationAwareLog.info(SLF4JLocationAwareLog.java:159)
> 	at org.springframework.jca.context.SpringContextResourceAdapter.start(SpringContextResourceAdapter.java:151)
> 	at com.sun.enterprise.connectors.ActiveOutboundResourceAdapter.startResourceAdapter(ActiveOutboundResourceAdapter.java:182)
> 	at com.sun.enterprise.connectors.ActiveOutboundResourceAdapter.init(ActiveOutboundResourceAdapter.java:129)
> 	at com.sun.enterprise.connectors.ActiveRAFactory.instantiateActiveResourceAdapter(ActiveRAFactory.java:135)
> 	at com.sun.enterprise.connectors.ActiveRAFactory.createActiveResourceAdapter(ActiveRAFactory.java:106)
>
> Any other thoughts?

Maybe this :
http://stackoverflow.com/questions/3519978/logging-framework-incompatibility

Maybe there is in your classpath an older version is slf4j.

-- 
Éric Chatellier <chatellier at codelutin.com>
Tel: 02.40.50.29.28
http://www.codelutin.com 



More information about the slf4j-user mailing list