[
https://issues.apache.org/jira/browse/CASSANDRA-12996?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16096708#comment-16096708
]
Jay Zhuang commented on CASSANDRA-12996:
----------------------------------------
Seems like there's jar hell while compile test:
{noformat}
build-test:
[javac] Compiling 522 source files to
/Users/zjay/ws/cassandra/build/test/classes
[javac]
/Users/zjay/ws/cassandra/test/unit/org/apache/cassandra/utils/NoSpamLoggerTest.java:42:
error: constructor SubstituteLogger in class SubstituteLogger cannot be
applied to given types;
[javac] Logger mock = new SubstituteLogger(null, null, true)
[javac] ^
[javac] required: String
[javac] found: <null>,<null>,boolean
[javac] reason: actual and formal argument lists differ in length
[javac] Note: Some input files use or override a deprecated API.
[javac] Note: Recompile with -Xlint:deprecation for details.
[javac] Note: Some input files use unchecked or unsafe operations.
[javac] Note: Recompile with -Xlint:unchecked for details.
[javac] 1 error
{noformat}
The classpath includes both {{slf4j-api-1.7.12.jar}} and
{{slf4j-api-1.7.25.jar}}
> update slf4j dependency to 1.7.21
> ---------------------------------
>
> Key: CASSANDRA-12996
> URL: https://issues.apache.org/jira/browse/CASSANDRA-12996
> Project: Cassandra
> Issue Type: Improvement
> Components: Libraries
> Reporter: Tomas Repik
> Assignee: Stefan Podkowinski
> Fix For: 4.0
>
> Attachments: cassandra-3.11.0-slf4j.patch,
> jcl-over-slf4j-1.7.25.jar.asc, log4j-over-slf4j-1.7.25.jar.asc,
> slf4j-api-1.7.25.jar.asc
>
>
> Cassandra 3.11.0 is about to be included in Fedora. There are some tweaks to
> the sources we need to do in order to successfully build it. Cassandra
> depends on slf4j 1.7.7, but In Fedora we have the latest upstream version
> 1.7.21 It was released some time ago on April 6 2016. I attached a patch
> updating Cassandra sources to depend on the newer slf4j sources. The only
> actual change is the number of parameters accepted by SubstituteLogger class.
> Please consider updating.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]