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

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Problem with com/google/common/collect/ImmutableMap ElasticsearchIndex

Hi,
I have a problem when i'm using a tWriteJsonField with tElasticsearchIndex. 
I have this error: Exception in thread "Thread-1" java.lang.NoClassDefFoundError: com/google/common/collect/ImmutableMap.
Or i included the recommended Jars to elasticserarch, and even i added guava21 jar.
But i have the same error.
Can you help me please.
Thanks.
Labels (5)
4 Replies
Anonymous
Not applicable
Author

Hi,
It seems there is a missing jar issue in your job.
Could you please indicate on which build version you got this issue? Screenshots of job setting will be preferred.
Best regards
Sabrina
Anonymous
Not applicable
Author

I work with TOS for big data 6.3.0 ,elasticsearch 2.3.5 , lucene : 5.5.0 , and tElasticsearchIndex 1.0.3

I try to change the guava.jar version in every time sometime the error change " java.lang.NoClassDefFoundError: org/apache/lucene/util/Version " like this :

Anonymous
Not applicable
Author

The problem is resolved when I added all those libraries by the routine's method: 
guava-18.0.jar
compress-lzf-1.0.3.jar
hppc-0.7.1.jar
jackson-core-2.8.2.jar
joda-time-2.8.2.jar
 jsr166e-1.1.0.jar
 netty-3.10.5.Final.jar
 t-digest-3.0.jar
Anonymous
Not applicable
Author

Hi rim_edatis,
Thanks for your feedback and solution. Could you please mark this topic as resolved?
Best regards
Sabrina