Java Client for Janus, Cassandra backend


Raunak Swarnkar <rauna...@...>
 

Hi

I am trying to connect to the gremlin-server with my janus graph stored in cassandra using Java Client.

Here's my main file where I am calling the yaml properties file having connection details:



But I am facing the following error for Cluster.open("remote.yaml"):


What am I missing here, becase I already included the apache commons lang jar.


Jason Plurad <plu...@...>
 

org.apache.commons.configuration.Configuration is not found in Apache commons-lang. It is in Apache commons-configuration.

There are a lot of dependencies for the JanusGraph/TinkerPop stack, so you're best approach would be to use a tool like Apache Maven or Gradle to manage the dependencies for your project, rather than adding the jars one by one. Please refer to the code examples included with the distribution.


On Tuesday, October 31, 2017 at 9:08:49 AM UTC-4, Raunak Swarnkar wrote:
Hi

I am trying to connect to the gremlin-server with my janus graph stored in cassandra using Java Client.

Here's my main file where I am calling the yaml properties file having connection details:



But I am facing the following error for Cluster.open("remote.yaml"):


What am I missing here, becase I already included the apache commons lang jar.


Raunak Swarnkar <rauna...@...>
 

Hi

Yes, I also added that later and was still stuck. But I got your point, I will go for a Maven implementation. Thanks.


On Tuesday, October 31, 2017 at 8:15:20 PM UTC+5:30, Jason Plurad wrote:
org.apache.commons.configuration.Configuration is not found in Apache commons-lang. It is in Apache commons-configuration.

There are a lot of dependencies for the JanusGraph/TinkerPop stack, so you're best approach would be to use a tool like Apache Maven or Gradle to manage the dependencies for your project, rather than adding the jars one by one. Please refer to the code examples included with the distribution.


On Tuesday, October 31, 2017 at 9:08:49 AM UTC-4, Raunak Swarnkar wrote:
Hi

I am trying to connect to the gremlin-server with my janus graph stored in cassandra using Java Client.

Here's my main file where I am calling the yaml properties file having connection details:



But I am facing the following error for Cluster.open("remote.yaml"):


What am I missing here, becase I already included the apache commons lang jar.