Rohini Palaniswamy created HCATALOG-388:
-------------------------------------------
Summary: slf4j 1.5.11 version in activemq-all jar causes conflicts
with 1.6.1 version
Key: HCATALOG-388
URL: https://issues.apache.org/jira/browse/HCATALOG-388
Project: HCatalog
Issue Type: Bug
Affects Versions: 0.4
Reporter: Rohini Palaniswamy
Assignee: Rohini Palaniswamy
activemq-all-5.5.0.jar dependency in hcat has slf4j-api-1.5.11 contained in it.
But we also have slf4j-api-1.6.1 and slf4j-log4j12-1.6.1.jar as dependencies.
SLF4J: The requested version 1.6 by your slf4j binding is not compatible with
[1.5.5, 1.5.6, 1.5.7, 1.5.8, 1.5.9, 1.5.10, 1.5.11]
Because 1.5.11 and 1.6.1 are incompatible whenever any method with format
option is called it throws NoSuchMethodError. For eg: Calling public void
info(String format, Object arg) gives the below stacktrace
java.lang.NoSuchMethodError:
org.slf4j.helpers.MessageFormatter.format(Ljava/lang/String;Ljava/lang/Object;Ljava/lang/Object;)Lorg/slf4j/helpers/FormattingTuple;
at org.slf4j.impl.Log4jLoggerAdapter.info(Log4jLoggerAdapter.java:346)
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira