Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Join us in Toronto Sept 9th for Qlik's AI Reality Tour! Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

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

Labels (4)
4 Replies
lojdr
Creator II
Creator II

Hello,

 

Have you have also added these 2 packages?

slf4j-api 
slf4j-simple

Regards

lojdr

Anonymous
Not applicable
Author

Hi lojdr -- 

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

 

Regards,

Pragya


Slf4j snapshot.PNG
Anonymous
Not applicable
Author

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

Anonymous
Not applicable
Author

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

 

Regards,

Pragya