Elasticsearch 2.3.5 with Liferay 7 portlet class


(balaji) #1

Hi everyone,

Iam using elasticsearch jars 2.3.5 in liferay 7 portlet class i.e in my java class Get getting below exception..

Error:{#transport#-1}{ip}{ip:9300}, disconnecting...
RemoteTransportException[[Failed to deserialize response of type [org.elasticsearch.action.admin.cluster.node.liveness.LivenessResponse]]]; nested: TransportSerializationException[Failed to deserialize response of type [org.elasticsearch.action.admin.cluster.node.liveness.LivenessResponse]]; nested: NoClassDefFoundError[Could not initialize class org.elasticsearch.common.lucene.Lucene];
Caused by: TransportSerializationException[Failed to deserialize response of type [org.elasticsearch.action.admin.cluster.node.liveness.LivenessResponse]]; nested: NoClassDefFoundError[Could not initialize class org.elasticsearch.common.lucene.Lucene];

i have elasticsearch in VM which have java 1.7

My liferay server have 1.8 Java

Please anyone help me out..


(Ali Beyad) #2

You have classpath issues somewhere if you can't find org.elasticsearch.common.lucene.Lucene

You will need to identify the source of that.


(system) #3

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.