Hi Jeff,
POM of the topology project:
...
<dependency>
<groupId>org.apache.storm</groupId>
<artifactId>storm-core</artifactId>
<version>0.9.4</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.apache.storm</groupId>
<artifactId>storm-kafka</artifactId>
<version>0.9.4</version>
</dependency>
<dependency>
<groupId>org.bigml</groupId>
<artifactId>bigml-binding</artifactId>
<version>1.3</version>
</dependency>
...
POM of bigml-binding library:
...
<dependency>
<groupId>com.googlecode.json-simple</groupId>
<artifactId>json-simple</artifactId>
<version>1.1.1</version>
</dependency>
...
I have had a look at the dependency tree generated by maven (mvn
dependency:tree) and json-simple is a dependency of storm and bigml-binding
only.
Thanks and regards,
Ferran
From: Jeff Maass <[email protected]>
To: "[email protected]" <[email protected]>
Cc:
Date: Wed, 6 May 2015 13:16:23 +0000
Subject: Re: Conflict with json-simple
Let us see your POM file please.
From: Ferran Muñoz <[email protected]>
Reply-To: "[email protected]" <[email protected]>
Date: 2015,Wednesday, May 6 at 04:30
To: "[email protected]" <[email protected]>
Subject: Conflict with json-simple
Hi,
I am using a library in a bolt of my topology that depends on json-simple
v1.1.1 because it uses the JSONObject constructor that accepts a
java.util.Map parameter.
I have a conflict because Storm depends on json-simple v1.1. So, when I run
my topology I get the exception:
java.lang.NoSuchMethodError: org.json.simple.JSONObject: method
<init>(Ljava/util/Map;)V not found
How can I tackle with this?
Thanks in advance and best regards,
Ferran