[infinispan-issues] [JBoss JIRA] (ISPRK-33) Wrong dependency of jboss-logging pulled

Gustavo Fernandes (JIRA) issues at jboss.org
Tue Nov 8 12:36:00 EST 2016


Gustavo Fernandes created ISPRK-33:
--------------------------------------

             Summary: Wrong dependency of jboss-logging pulled
                 Key: ISPRK-33
                 URL: https://issues.jboss.org/browse/ISPRK-33
             Project: Infinispan Spark
          Issue Type: Bug
    Affects Versions: 0.4
            Reporter: Gustavo Fernandes
             Fix For: 0.5


Consider the pom snippet:

{code:xml}
<dependency>
    <groupId>org.infinispan</groupId>
    <artifactId>infinispan-spark_2.11</artifactId>
    <version>${version.spark-connector}</version>
</dependency>
<dependency>
    <groupId>org.apache.spark</groupId>
    <artifactId>spark-core_2.11</artifactId>
    <version>${version.spark}</version>
    <scope>provided</scope>
</dependency>
{code}

It will pull  org.jboss.logging:jboss-logging:jar:3.1.4.GA on classpath via org.infinispan.protostream:protostream. 
But org.jboss.logging:jboss-logging:jar:3.1.4.GA is not compatible with the Hot Rod client and causes  errors such as 
{code}
java.lang.NoSuchMethodError: org.infinispan.client.hotrod.logging.Log.tracef(Ljava/lang/Throwable;Ljava/lang/String;II)V
{code}



--
This message was sent by Atlassian JIRA
(v7.2.3#72005)


More information about the infinispan-issues mailing list