Hi, please see the picture, I used mvn to download all the .jars, but when I import below, it can't find the depency, could you please help.
Many Thanks.
import org.elasticsearch.transport.client.PreBuiltTransportClient;
Hi, please see the picture, I used mvn to download all the .jars, but when I import below, it can't find the depency, could you please help.
Many Thanks.
import org.elasticsearch.transport.client.PreBuiltTransportClient;
Probably something wrong on your side. I can see it here: https://repo1.maven.org/maven2/org/elasticsearch/client/transport/6.4.3/
Thank you very much.
Sorry for misleading, I didn't decribe it clear, I can down load all the jars, but in the code when I put :
import org.elasticsearch.transport.client.PreBuiltTransportClient;
it gives "The import org.elasticsearch.transport.client cannot be resolved".
This class seems to exist to me: https://github.com/elastic/elasticsearch/blob/6.4/client/transport/src/main/java/org/elasticsearch/transport/client/PreBuiltTransportClient.java
Not sure what is happening.
Thanks.
This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
© 2020. All Rights Reserved - Elasticsearch
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant logo are trademarks of the Apache Software Foundation in the United States and/or other countries.