Facing issue with Neo4j connection through Talend

Highlighted
Four Stars

Facing issue with Neo4j connection through Talend

Hi,

Can anyone please help me with below error which I am getting while making connection with Neo4j remote server through Talend using tNeo4jConnection component [I have installed Neo4j community version on my local].

 

For the following error, I have already placed the slf4j jar file in Talend library folder, still this issue persist. Any help will be appreciable.

 

SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
SLF4J: Defaulting to no-operation (NOP) logger implementation
SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details.
Exception in thread "main" java.lang.ExceptionInInitializerError
[statistics] disconnected
at com.sun.jersey.core.spi.factory.MessageBodyFactory.initReaders(MessageBodyFactory.java:182)
at com.sun.jersey.core.spi.factory.MessageBodyFactory.initReaders(MessageBodyFactory.java:176)
at com.sun.jersey.core.spi.factory.MessageBodyFactory.init(MessageBodyFactory.java:162)
at com.sun.jersey.api.client.Client.init(Client.java:342)
at com.sun.jersey.api.client.Client.access$000(Client.java:118)
at com.sun.jersey.api.client.Client$1.f(Client.java:191)
at com.sun.jersey.api.client.Client$1.f(Client.java:187)
at com.sun.jersey.spi.inject.Errors.processWithErrors(Errors.java:193)
at com.sun.jersey.api.client.Client.<init>(Client.java:187)
at com.sun.jersey.api.client.Client.<init>(Client.java:159)
at com.sun.jersey.api.client.Client.create(Client.java:669)
at org.neo4j.rest.graphdb.ExecutingRestRequest.createClient(ExecutingRestRequest.java:70)
at org.neo4j.rest.graphdb.ExecutingRestRequest.<init>(ExecutingRestRequest.java:59)
at org.neo4j.rest.graphdb.RestAPIImpl.createRestRequest(RestAPIImpl.java:79)
at org.neo4j.rest.graphdb.RestAPIImpl.<init>(RestAPIImpl.java:74)
at org.neo4j.rest.graphdb.RestGraphDatabase.<init>(RestGraphDatabase.java:59)
at poc_pragya.neo4j_job_0_1.Neo4J_Job.tNeo4jConnection_1Process(Neo4J_Job.java:301)
at poc_pragya.neo4j_job_0_1.Neo4J_Job.runJobInTOS(Neo4J_Job.java:587)
at poc_pragya.neo4j_job_0_1.Neo4J_Job.main(Neo4J_Job.java:421)
Caused by: java.lang.RuntimeException: java.lang.ClassNotFoundException: org.glassfish.jersey.internal.RuntimeDelegateImpl
at javax.ws.rs.ext.RuntimeDelegate.findDelegate(RuntimeDelegate.java:151)
at javax.ws.rs.ext.RuntimeDelegate.getInstance(RuntimeDelegate.java:119)
at javax.ws.rs.core.MediaType.valueOf(MediaType.java:179)
at com.sun.jersey.core.header.MediaTypes.<clinit>(MediaTypes.java:64)
... 19 more
Caused by: java.lang.ClassNotFoundException: org.glassfish.jersey.internal.RuntimeDelegateImpl
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Unknown Source)
at javax.ws.rs.ext.FactoryFinder.newInstance(FactoryFinder.java:114)
at javax.ws.rs.ext.FactoryFinder.find(FactoryFinder.java:207)
at javax.ws.rs.ext.RuntimeDelegate.findDelegate(RuntimeDelegate.java:134)
... 22 more

 

 

Regards,

Pragya

Highlighted
Eight Stars

Re: Facing issue with Neo4j connection through Talend

Hello,

 

Have you have also added these 2 packages?

slf4j-api 
slf4j-simple

Regards

lojdr

Highlighted
Four Stars

Re: Facing issue with Neo4j connection through Talend

Hi lojdr -- 

Yes, I have already added these 2 jar files. Attaching screenshot.

 

Regards,

Pragya

Highlighted
Moderator

Re: Facing issue with Neo4j connection through Talend

Hello,

Have you tried to restart your studio to see if it works? Are you using talend open studio V 6.3.1?

Best regards

Sabrina

--
Don't forget to give kudos when a reply is helpful and click Accept the solution when you think you're good with it.
Highlighted
Four Stars

Re: Facing issue with Neo4j connection through Talend

The class error got resolved when we installed Neo4j 3.3.2 version. Not sure what was the issue with other versions.

 

Regards,

Pragya

2019 GARTNER MAGIC QUADRANT FOR DATA INTEGRATION TOOL

Talend named a Leader.

Get your copy

OPEN STUDIO FOR DATA INTEGRATION

Kickstart your first data integration and ETL projects.

Download now

Put Massive Amounts of Data to Work

Learn how to make your data more available, reduce costs and cut your build time

Watch Now

How OTTO Utilizes Big Data to Deliver Personalized Experiences

Read about OTTO's experiences with Big Data and Personalized Experiences

Blog

Talend Integration with Databricks

Take a look at this video about Talend Integration with Databricks

Watch Now