[logback-user] Mismatch error version from 1.5.4

Ceki Gulcu listid at qos.ch
Sat Oct 18 19:52:51 CEST 2008


Hi Alex,

SLF4J version 1.5.5 was released in response to your initial message. The 
solution retained is similar to yours in spirit.

See    http://slf4j.org/news.html
   and  http://slf4j.org/faq.html#version_checks

Cheers,

alex wrote:
> Can I propose to have a parameter in xml config files to check the 
> version of components like
> <check_version_libraries>true</check_version_libraries> ?
> 
> Thanks a lot for help
> 
> Ceki Gulcu wrote:
>> Hello Alex,
>>
>>
>> You are using logback 0.9.9 which was compiled against SLF4J version
>> 1.5.3. SLF4J version 1.5.4 is just letting you know that there is a
>> potential version mismatch, because logback-classic 0.9.9 does not
>> contain version information.
>>
>> In this particular case, SLF4J cries wolf and you can simply ignore
>> the warning. The warning will disappear with the release of logback
>> 0.9.10 in the coming days.
>>
>> Coming to think of it, crying wolf this way, will be a constant
>> headache for outside SLF4J native implementations. e.g. Jboss. We'll have to 
>> come up with something less intrusive.
>>
>> Anyway, hope this helps,
>>
>>
>> alex wrote:
>>   
>>> Hi,
>>> I upgraded SLF4J to 1.5.3 to 1.5.4 and a message appears when launch my 
>>> program :
>>> SLF4J: The version of your slf4j-binding is probably older than 1.5.4, 
>>> and differs from 1.5.4, the expected version.
>>> SLF4J: See http://www.slf4j.org/codes.html#version_mismatch for further 
>>> details.
>>>
>>> I red version_mismatch error but I do not found error in my 
>>> configuration. I tried to unzip again the lib 1.5.4 and check the files 
>>> and it seems all ok.
>>>
>>> This is the poperties from Eclipse launch with 1.5.4
>>>
>>>  C:\jdk160\bin\javaw.exe -Xmx512M -classpath 
>>> C:\dnsvmware25\testvmware;D:\install\libExplode\axis1-4\wsdl4j-1.5.1.jar;D:\install\libExplode\axis1-4\activation.jar;D:\install\libExplode\axis1-4\jaxen-core.jar;D:\install\libExplode\axis1-4\jaxen-jdom.jar;D:\install\libExplode\axis1-4\jdom.jar;D:\install\libExplode\axis1-4\mailapi.jar;D:\install\libExplode\axis1-4\saxpath.jar;D:\install\libExplode\axis1-4\smtp.jar;D:\install\libExplode\axis1-4\wbem.jar;D:\install\libExplode\axis1-4\xalan.jar;D:\install\libExplode\axis1-4\xerces.jar;D:\install\libExplode\axis1-4\xml-apis.jar;D:\install\libExplode\axis1-4\axis.jar;D:\install\libExplode\axis1-4\axis-ant.jar;D:\install\libExplode\axis1-4\commons-discovery-0.2.jar;D:\install\libExplode\axis1-4\jaxrpc.jar;D:\install\libExplode\axis1-4\saaj.jar;D:\install\libExplode\logback\logback-access-0.9.9.jar;D:\install\libExplode\logback\logback-classic-0.9.9.jar;D:\install\libExplode\logback\logback-core-0.9.9.jar;D:\install\libExplode\logback\janino2_5_15.jar;D:\install\libExplode\v
mw
>>>     
>> are25\vim25.jar;D:\install\libExplode\vmware25\vim.jar;D:\install\libExplode\slf4j_154\jul-to-slf4j-1.5.4.jar;D:\install\libExplode\slf4j_154\log4j-over-slf4j-1.5.4.jar;D:\install\libExplode\slf4j_154\slf4j-api-1.5.4.jar;D:\install\libExplode\slf4j_154\jcl-over-slf4j-1.5.4.jar 
>>   
>>> -agentlib:jdwp=transport=dt_socket,suspend=y,address=localhost:3903 
>>> test.ListPort
>>>
>>> This is the poperties from Eclipse launch with 1.5.3
>>>
>>> C:\jdk160\bin\javaw.exe -Xmx512M -classpath C:\dnsvmware25\testvmware;D:\install\libExplode\axis1-4\wsdl4j-1.5.1.jar;D:\install\libExplode\axis1-4\activation.jar;D:\install\libExplode\axis1-4\jaxen-core.jar;D:\install\libExplode\axis1-4\jaxen-jdom.jar;D:\install\libExplode\axis1-4\jdom.jar;D:\install\libExplode\axis1-4\mailapi.jar;D:\install\libExplode\axis1-4\saxpath.jar;D:\install\libExplode\axis1-4\smtp.jar;D:\install\libExplode\axis1-4\wbem.jar;D:\install\libExplode\axis1-4\xalan.jar;D:\install\libExplode\axis1-4\xerces.jar;D:\install\libExplode\axis1-4\xml-apis.jar;D:\install\libExplode\axis1-4\axis.jar;D:\install\libExplode\axis1-4\axis-ant.jar;D:\install\libExplode\axis1-4\commons-discovery-0.2.jar;D:\install\libExplode\axis1-4\jaxrpc.jar;D:\install\libExplode\axis1-4\saaj.jar;D:\install\libExplode\logback\logback-access-0.9.9.jar;D:\install\libExplode\logback\logback-classic-0.9.9.jar;D:\install\libExplode\logback\logback-core-0.9.9.jar;D:\install\libExplode\logb
ac
>>>     
>> k\janino2_5_15.jar;D:\install\libExplode\vmware25\vim25.jar;D:\install\libExplode\vmware25\vim.jar;D:\install\libExplode\slf4j_153\slf4j-api-1.5.3.jar;D:\install\libExplode\slf4j_153\jcl-over-slf4j-1.5.3.jar;D:\install\libExplode\slf4j_153\jul-to-slf4j-1.5.3.jar;D:\install\libExplode\slf4j_153\log4j-over-slf4j-1.5.3.jar -agentlib:jdwp=transport=dt_socket,suspend=y,address=localhost:3891 test.ListPort
>>   
>>> Any Hint ?
>>>
>>> Thanks a lot for all
>>>
>>>
>>>     
>>   
> 
> 

-- 
Ceki Gülcü
Logback: The reliable, generic, fast and flexible logging framework for Java.
http://logback.qos.ch


More information about the Logback-user mailing list