[Bug 295] New: Persistent error while integrating Spring project with many JAR dependencies

http://bugzilla.slf4j.org/show_bug.cgi?id=295 Summary: Persistent error while integrating Spring project with many JAR dependencies Product: SLF4J Version: unspecified Platform: PC OS/Version: Windows NT Status: NEW Severity: blocker Priority: P1 Component: Core API AssignedTo: slf4j-dev@qos.ch ReportedBy: colbert.philippe@ROGERS.com I wrote an application using Spring Framework and several other JAR dependencies using slf4j. However, I get this error from your library: SEVERE: Exception sending context initialized event to listener instance of class org.springframework.web.context.ContextLoaderListener java.lang.NoSuchMethodError: org.slf4j.spi.LocationAwareLogger.log(Lorg/slf4j/Marker;Ljava/lang/String;ILjava/lang/String;Ljava/lang/Throwable;)V at org.apache.commons.logging.impl.SLF4JLocationAwareLog.info(SLF4JLocationAwareLog.java:159) at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:272) This error is difficult to resolve. I haven't found a solution yet. -- Configure bugmail: http://bugzilla.slf4j.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug.

http://bugzilla.slf4j.org/show_bug.cgi?id=295 Ceki Gulcu <lists@slf4j.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |lists@slf4j.org --- Comment #1 from Ceki Gulcu <lists@slf4j.org> 2013-02-20 22:32:02 CET --- You are most probably facing a version mismatch issue [1]. Slf4j-api version 1.5.5 and later emit a warning message when a version mismatch is detected. In your case, you are also using jcl-over-slf4j. The NoSuchMethodError indicates that the version of jcl-over-slf4j does not match the version of slf4j-api you are using. Make sure that that jcl-over-slf4j.jar and slf4j-api jar have the same version and the problem will go away. [1] http://slf4j.org/codes.html#version_mismatch -- Configure bugmail: http://bugzilla.slf4j.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug.
participants (1)
-
bugzilla-daemon@qos.ch